Re: [poedit-users] Problem with utf-8 translation
Vaclav Slavik <[email protected]>
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, [email protected] wrote: > I'm using poedit 1.3.4 with win2000 sp2. > My source code is in "C" and each string is coded with iso-8859-1. Make up your mind: either they are in C locale, i.e. US-ASCII charset, or in iso-8859-1, but it can't both be true... > Content-Type: text/plain; charset=utf-8 > Content-Transfer-Encoding: 8bit > X-Poedit-SourceCharset: iso-8859-1 ... > "Unità" has been read as "UnitÃ" that is, may be, the utf-8 > transaltion of "Unità". But in the settings I have set source code > characters as iso-8859-1. Yes -- and that's exactly how your *source files* are interpreted when scanning them for translations. You also have in your settings that the file should be *saved as UTF-8* which is again exactly what poedit did. > I think that .po would be as: > > #: ../../src/menu.c:5466 > msgid "Unità di misura " > msgstr "Unidad de medida" No, it should not. You asked to have the file in UTF-8, so that's what you got. You'd get the above if you asked for iso-8859-1, which you didn't. > Have you got any idea? > I need to build the UTF-8 translation because my software codifies > the translation in this way. So on one hand you require the PO file to be in UTF-8, but on the other hand you complain about it being in UTF-8? You have to make your mind about what you want: do you want the file to be in UTF-8 or not? Regards, Vaclav -- PGP key: 0x465264C9, available from http://pgp.mit.edu/ _______________________________________________ Poedit-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/poedit-users
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEk+EPxDYa/UZSZMkRAlkxAJ42FBgZiulUiqL3ZuzravCZ8QwL4ACfWa92 aCmQnubGIXTp+cmCML40wwI= =GH19 -----END PGP SIGNATURE-----