要將 FreeBSD 的系統改為 UTF8 只需修改下面這個檔案
#vi /etc/csh.cshrc
setenv LC_ALL zh_TW.UTF-8
setenv LANG zh_TW.UTF-8
setenv CLICOLOR
set color
setenv LSCOLORS ExGxFxdxCxDxDxBxBxExEx
改完後先登出後再登入輸入 locale 就可看到如下的系統預設語系已經不是 C
#locale
LANG=zh_TW.UTF-8
LC_CTYPE=”zh_TW.UTF-8″
LC_COLLATE=”zh_TW.UTF-8″
LC_TIME=”zh_TW.UTF-8″
LC_NUMERIC=”zh_TW.UTF-8″
LC_MONETARY=”zh_TW.UTF-8″
LC_MESSAGES=”zh_TW.UTF-8″
LC_ALL=zh_TW.UTF-8
"要將 FreeBSD 的系統改為 UTF8 只需修改下面這個檔案 #vi /etc/csh.cshrc setenv LC_ALL zh_TW.UTF-8 setenv LANG zh_TW.UTF-8 setenv CLICOLOR set color setenv LSCOLORS ExGxFxdxCxDxDxBxBxExEx 改完後先登出後再登入輸入 locale 就可看到如下的系統預設語系已經不是 C #locale LANG=zh_TW.UTF-8 LC_CTYPE=”zh_TW.UTF-8″ LC_COLLATE=”zh_TW.UTF-8″ LC_TIME=”zh_TW.UTF-8″ LC_NUMERIC=”zh_TW.UTF-8″ LC_MONETARY=”zh_TW.UTF-8″ LC_MESSAGES=”zh_TW.UTF-8″ LC_ALL=zh_TW.UTF-8"
- Bryan手札-生活記趣 » FreeBSD 系統 utf8 化 (在「Google 網頁註解」中檢視)
No comments:
Post a Comment