This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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:


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,

Vlada Macek

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]