Tuesday, February 06, 2007

How to obtain the character set of the current session (or the OS) in redhat AS3

How to obtain the character set of the current session (or the OS) in redhat AS3
env命令中LANG项
或者查看/etc/sysconfig/i18n
或者locale charmap

由于在登入时可以通过设置language改变env|grep LANG的显示结果,所以推荐使用查看i18n文件的方法。