rhel5的作業系統的LANG_locale_locate_資料庫字符集

wisdomone1發表於2010-06-24
[root@localhost ~]# locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
 
#用locate命令可以檢視具體的LANG值儲存在哪些檔案中
[root@localhost ~]# locate zh_CN.UTF-8
/usr/share/X11/locale/zh_CN.UTF-8
/usr/share/X11/locale/zh_CN.UTF-8/Compose
/usr/share/X11/locale/zh_CN.UTF-8/XI18N_OBJS
/usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE
/usr/share/vim/vim70/lang/zh_CN.UTF-8
/usr/share/vim/vim70/lang/zh_CN.UTF-8/LC_MESSAGES
/usr/share/vim/vim70/lang/zh_CN.UTF-8/LC_MESSAGES/vim.mo
 
#此檔案儲存作業系統的echo $LANG配置
[root@localhost ~]# more /etc/sysconfig/i18n 

LANG="zh_CN.UTF-8"
SYSFONT="latarcyrheb-sun16"
[root@localhost ~]#

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-666085/,如需轉載,請註明出處,否則將追究法律責任。

相關文章