This is the mail archive of the
mailing list for the binutils project.
windres RC codepage
- From: Vlada Macek <tuttle at bbs dot cvut dot cz>
- To: binutils at sources dot redhat dot com
- Date: Mon, 08 Nov 2004 13:49:18 +0100
- Subject: windres RC codepage
for some Win32 program I'd like to contribute the textual RC resource
file localized to Czech language. On my WinXPPro Czech version, windres
compiles the RC file correctly (to UCS-16 I presume) and resulting EXE
file is beaving correctly.
The program is maintained by a Swedish developer and when I send him my
localized RC, he is not able to compile correct version of RES file with
windres on his Windows. I tried to set this directive at the beginning
of the file:
LANGUAGE LANG_CZECH, 0x04
But the result is the same. The UCS-16 encoding in his RES file is
crippled and when it is linked to the EXE, the program shows some of the
Czech characters incorrectly (on my Czech Windows).
I peeked on the windres source and I'm really not sure what causes the
different behavior between Czech and Swedish Windows. What is the least
painful way for us to get this to work? Is it possible that the codepage
transcoding routines in windres are missing or not completed for these
cases? I believed that the aforementioned directive was sufficient and
the windres should transcode characters based only on this information.
Is that true?
Or is it a matter of installing Czech "locale" from Microsoft on that
Swedish Windows? But the maintainer does not wish to install on his
computer every "locale" in which his program will be localized. It would
really be an overkill.
Thanks in advance,