Bugs item #301026, was opened at 2004-11-06 20:05
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=410622&aid=301...
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Yves Rütschlé (yves-guest)
Assigned to: Jordi Vilalta (jvprat-guest)
Summary: po4a-update eats characters not in charset without asking
Initial Comment:
If you translate a PO file into some language
using iso8859-1, but forget to precise the charset in the
header of the PO file, and don't give the charset to
po4a-update either, then po4a-update proceeds to remove all
accentuated characters from the file.
I am not sure what the best way to handle this would be;
presumably, one could do some heuristic ("there are many
strange characters in there, probably this isn't ascii") and
ask for confirmation that you do actually want to filter out
strange characters. Fact is, most of the time you won't want
to.
----------------------------------------------------------------------
Comment By: Yves Rütschlé (yves-guest)
Date: 2004-11-12 16:14
Message:
Logged In: YES
user_id=11062
A related problem: when the master document's charset is not
ascii, po4a-updatepo seems to happily ignore the PO's
charset specification and change it (to UTF-8 in my case,
which I am not sure where it comes from, as I think the
input document was iso-8859-1 just like the PO), along with
all the characters in the PO. In other words, po4a-update
silently:
- changes the charset I have specified in the PO
- changes all the non-ascii characters in some way
("in some way", because I don't think it ended up in UTF-8
either).
I'm so in love with French accents right now.
----------------------------------------------------------------------
You can respond by visiting:
http://alioth.debian.org/tracker/?func=detail&atid=410622&aid=301...