请问如何解决?MinGW4.3.2,开发一个ANSI(不支持Unicode,因为要在Win9x下使用,而且不想使用MSLU),源代码使用UTF-8格式保存(不使用ANSI)。
怎么解决?
目前想到:可以把源代码格式改为GBK编码,并且使用-finput_charset=gbk来解决。但这不是我想要的。
有更好的解决方案吗?如果改用wx2.9SVN版本呢?是否内置了UTF-8的解决?但Windows编程又如何支持UTF-8显示呢?
MinGW编译器,ANSI-Win32程序,UTF-8代码:乱码 Topic is solved
MinGW编译器,ANSI-Win32程序,UTF-8代码:乱码
Life is not fair, get used to it.
2.8也是支持utf-8的,2.9只是变得骨头里都支持而已。
我一般是写英语的界面,然后国际化...呵呵~
-Utensil
我一般是写英语的界面,然后国际化...呵呵~
-Utensil
In fascination of creating worlds by words, and in pursuit of words behind the world.
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
不好意思,我之前没有看清楚你的问题~要在9x下运行啊~
我之前看到过一个英文帖子,是同样的问题。解决方案就是wxWidgets的UNICODE Build加上MSLU那个dll就可以了。
那个提问者也是不肯用MSLU...不过我始终不明白为什么...
-Utensil
我之前看到过一个英文帖子,是同样的问题。解决方案就是wxWidgets的UNICODE Build加上MSLU那个dll就可以了。
那个提问者也是不肯用MSLU...不过我始终不明白为什么...
-Utensil
In fascination of creating worlds by words, and in pursuit of words behind the world.
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/
On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/