http://bugs.winehq.org/show_bug.cgi?id=5420
Summary: charset encoding problem with wine header Product: Wine Version: 0.9.15. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-winelib AssignedTo: wine-bugs@winehq.org ReportedBy: choe.hwanjin@gmail.com
I cannot use gcc option '-finput-charset=euckr' with wine header. When I compile some c source with this option, gcc makes error:
$ gcc -c -I wine-0.9.15/include -finput-charset=euckr -c test.c In file included from wine-0.9.15/include/windows.h:77, from test.c:1: wine-0.9.15/include/ole2.h:25:21: error: failure to convert euckr to UTF-8 In file included from wine-0.9.15/include/objidl.h:10, from wine-0.9.15/include/oaidl.h:10, from wine-0.9.15/include/oleauto.h:22, from wine-0.9.15/include/ole2.h:26, from wine-0.9.15/include/windows.h:77, from test.c:1:
where test.c is : #include <windows.h>
void test(void) { }
The reason is that some header files have iso8859-1 characters. So I made a patch for this problem.
I will attach it.