On 2019-07-15, Jürgen Spitzmüller wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]

> Am Montag, den 15.07.2019, 18:00 +0200 schrieb Günter Milde:
>> commit d3f6ec003d3e9f972abd3eeff19cd06e4a865104
>> Author: Günter Milde <[email protected]>
>> Date:   Mon Jul 15 18:07:22 2019 +0200

>>     Make po statistics script work with Python 3.

> Alas, this does not work; make_i18n.inc produces an invalid files (all
> numbers are 0, and the translatior names are embraced by b'...').

I see:

a) postats.py processes not the standard output but the error output of
   `msgfmt`, so this needed to be redirected.
   
b) encodings issues in Python are a pain and later Python 3 versions do no
   longer autoconvert :-(
   
Should be fixed in 6b88e4bf3b

2 questions:

* Is the generation of *.gmo files as side-effect of running postats.py
  intended/required or an oversight?
  
* Is it OK to emit utf8 encoded author names or is xmlcharrefreplace required?

Günter

Reply via email to