I'm having problems using non-ASCII characters in version info for my Delphi projects. When FB generates the RC file with version info strings, it correctly sets the ANSI codepage as specified in action properties. But after I run the script, the compiled resource in the resulting executable contains invalid Unicode representations of those characters. They should be UTF-16LE encoded, but they are still in their original ANSI form, merely prepended with a #0 character. Is this a known problem?
Hi
I’m not 100% certain that borland’s command line resource compiler supports unicode. You could test this with microsoft’s rc.exe (you can tell the delphi action to use it rather than the borland resource compiler.
You're right. Switching to rc.exe solved the problem. Thanks!
great, thanks for letting us know. I guess this is the sort of Q&A we need to start mining for a FAQ.