当前位置: 技术问答>linux和unix
程序编码和字体的问题,请高手指点。
来源: 互联网 发布时间:2015-08-27
本文导语: 我在RH9里面编的程序(用gedit,编辑->首选项->保存里面选的是UTF-8编码格式),而移到裁减过的系统里面运行时出现这样的警告。 Glib: Cannot convert message:Conversion from character set 'UTF-8' to 'GB18030' is not supported. Gdk-W...
我在RH9里面编的程序(用gedit,编辑->首选项->保存里面选的是UTF-8编码格式),而移到裁减过的系统里面运行时出现这样的警告。
Glib: Cannot convert message:Conversion from character set 'UTF-8' to 'GB18030' is not supported.
Gdk-WARNING: Error conventing from UTF-8 to STRING: Could not open converter from character set 'UTF-8' to 'ISO-8859-1' :unknown error (2)
Gdk-WARNING: Error conventing from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
请指点这是什么原因。好几天了还是没有解决。
谢谢
Glib: Cannot convert message:Conversion from character set 'UTF-8' to 'GB18030' is not supported.
Gdk-WARNING: Error conventing from UTF-8 to STRING: Could not open converter from character set 'UTF-8' to 'ISO-8859-1' :unknown error (2)
Gdk-WARNING: Error conventing from UTF-8 to STRING: Conversion from character set 'UTF-8' to 'ISO-8859-1' is not supported
请指点这是什么原因。好几天了还是没有解决。
谢谢
|
glib使用iconv进行转换,你看看是否你的locale中由gb18030的编码
欢迎访问我的个人网站 www.linuxc.net
欢迎访问我的个人网站 www.linuxc.net