參考
1. ~$ sudo vim /var/lib/locales/supported.d/local
加入
zh_TW.UTF-8 UTF-8
2.更新語系檔案
~$ sudo locale-gen
3. ~$ sudo vim /etc/default/locale
請確定檔案內容如下(特別是紅字的地方):
LANG="zh_TW.UTF-8"
LANGUAGE="zh_TW:zh"
LC_NUMERIC="zh_TW"
LC_TIME="zh_TW.UTF-8"
LC_MONETARY="zh_TW"
LC_PAPER="zh_TW"
LC_NAME="zh_TW"
LC_ADDRESS="zh_TW"
LC_TELEPHONE="zh_TW"
LC_MEASUREMENT="zh_TW"
LC_IDENTIFICATION="zh_TW"
之後使用pietty登入後,中文輸入與顯示就正常了
Putty要開UTF_8
LANGUAGE="zh_TW:zh"
LC_NUMERIC="zh_TW"
LC_TIME="zh_TW.UTF-8"
LC_MONETARY="zh_TW"
LC_PAPER="zh_TW"
LC_NAME="zh_TW"
LC_ADDRESS="zh_TW"
LC_TELEPHONE="zh_TW"
LC_MEASUREMENT="zh_TW"
LC_IDENTIFICATION="zh_TW"
之後使用pietty登入後,中文輸入與顯示就正常了
Putty要開UTF_8
沒有留言:
張貼留言