[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Urgent problem: "windres" producing UNICODE
Re: [Mingw-cross-env-list] Urgent problem: "windres" producing UNICODE text for menus/dialogs
Tue, 2 Mar 2010 12:06:03 +1100
On 1 March 2010 17:21, Ron Aaron <address@hidden> wrote:
> Hi all -
> I just had to reopen an old project for a client, and when I ran 'windres' to
> compile the resources I ended up with UNICODE text in the resource rather
> than ANSI text! This is not usable, and whatever options I gave windres I
> got the same sad result.
> The 'windres' in the Windows-based Mingw package works (on the exact same
> file) just fine, to produce ANSI menus etc. The version in the Mingw package
> is "GNU windres (GNU Binutils) 188.8.131.5280109", the one in ours is "GNU
> windres (GNU Binutils) 2.20"
> If there is a workaround, please let me know.
I had some vaguely related issues with binutils 2.20 on Open Solaris,
and found that specifying the codepage directly would help. Try adding
"-c 1252" to the windres options.