Hi! Without having seen your files; it sounds more like you are seeing the UTF-8 characters encoded into entities. I would blame tidy for this, and not Pootle.
Tell tidy to use UTF-8 for input and output. You're trying to squeeze two or more bytes (Å) into one (A), and ending up using 6 (Å). Don't use anything but UTF-8 for your localization projects! :D US-ASCII contains only 128 characters, with all letters from the English alphabet. Unicode (UTF-8) currently supports more than 100,000 characters. Also, UTF-8 is a superset of ASCII, so an ASCII string is a valid UTF-8 string, you don't need to convert ASCII into UTF-8. - Pål Amos Jeffries wrote: > Greetings, I'm running the Squid Proxy translation project using pootle > and the toolkit to do the hard yards. > > We've encountered a serious problem with the way Pootle 1.2 html2po and > tidy are interacting. > > The .html templates and .po are in utf-8 format. The files appear to > translate correctly. But after the final filter through tidy they come > out with a lot of garbage characters from what I guess is the us-ascii > codepages encoded into HTML entities and the .html are labeled with > content-type=use-ascii. > > AYJ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Translate-pootle mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/translate-pootle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
