Re: [Winmerge-translate] Puzzles about po-file-encoding and rc-file-compiling by 2.7.5.2 and 2.7.5.
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
From: Tim G. <ti...@ge...> - 2007-10-07 23:52:54
|
Kimmo Varis wrote: >> Since 2.7.5.2 the encoding of .po file were changed into utf-8. And >> CreateRcFilesFromPoFiles.vbs produces a rc file which contains utf-8 >> encoded strings. > > This sounds like a bug. The header in PO files says its CP-xxx, so there > shouldn't be UTF-8 content. Also I think .rc files don't even support UTF-8. > > We still support W98 so we can't rely on UTF-8 anyways. > > Tim? Sorry for the long silence, but I was on vacation! ;) I didn't change the CODEPAGE of the PO files. The PO files in SVN looks all normal and my editor SciTE <http://scintilla.org/SciTE.html> says there are not UTF-8. I have also no problems to compile the PO files with MakeResDll.exe. (I use VC6 too!) So I can't reproduce your problem... How do you get the PO file? Do you use a SVN client like TortoiseSVN <http://tortoisesvn.net/>? Or do you download the latest source code archives from SF.net? Or use the "SVN Browse" page from SF.net <http://winmerge.svn.sourceforge.net/viewvc/winmerge/>? Maybe your browser or archive program change the file to UTF-8? Greetings, Tim |