Bug 577 - windres -c unimplemented
Summary: windres -c unimplemented
Status: NEW
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.15
: P2 enhancement
Target Milestone: ---
Assignee: unassigned
Depends on:
Reported: 2004-11-25 05:50 UTC by Aaron W. LaFramboise
Modified: 2005-06-24 11:37 UTC (History)
2 users (show)

See Also:
Host: i686-pc-cygwin
Target: i686-pc-mingw32,i686-pc-cygwin
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Aaron W. LaFramboise 2004-11-25 05:50:13 UTC
windres should take a -c option that selects a codepage to use for translation 
of resource strings to Unicode.

See <http://sources.redhat.com/ml/binutils/2004-11/msg00281.html>.
Comment 1 Danny Smith 2004-11-28 06:45:23 UTC
--preprocessor="gcc -E -xc -DRC_INVOKED --input-charset=CP1250"
do the job (assuming recent enough GCC)?

Comment 2 Dmitry Belyavsky 2005-06-24 11:37:26 UTC
(In reply to comment #1)
> Would 
> --preprocessor="gcc -E -xc -DRC_INVOKED --input-charset=CP1250"
> do the job (assuming recent enough GCC)?
> Danny

Microsoft uses UCS2, but your hint seems to force resources to be in utf8.