日期:2014-05-16  浏览次数:20563 次

请教,linux下,C/C++编程时候默认的中文编码是什么?
多谢了

------解决方案--------------------
utf-8
------解决方案--------------------
[root@localhost lehuan]# export
declare -x G_BROKEN_FILENAMES= "1 "
declare -x HISTSIZE= "1000 "
declare -x HOME= "/home/guys "
declare -x HOSTNAME= "localhost.localdomain "
declare -x INPUTRC= "/etc/inputrc "
declare -x LANG= "en_US.UTF-8 "
..................................................
当然了,你可以以更改的:如改为 char
export LANG=C 就OK了...
------解决方案--------------------
concern