In the file winduni.c there is an array named "codepages" that maps the number of the codepage given in the "--codepage" option or the "pragma code_page" to a name to be used with iconv_open(). The issue is that several mappings are wrong: MS-ANSI is an alias of 1252, not 850; MS-CYRL is an alias of 1251, not 866, etc. Actually, I see little reason to use the fancy names when the CPxxx are quite obvious.
-- Summary: windres doesn't recognize several codepages Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: rodrigorivascosta at gmail dot com CC: bug-binutils at gnu dot org GCC build triplet: i686-linux GCC host triplet: i586-mingw32msvc GCC target triplet: i586-mingw32msvc http://sourceware.org/bugzilla/show_bug.cgi?id=11681 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils