2012/08/25

[Ubuntu] Ubuntu 12.04右上角時間出現Invalid UTF-8解決辦法



最近終於灌了Ubuntu了(不過還是在Virtual Box上)

感覺不錯用耶

但是右上角時間日期那邊的中文字(UTF8)會顯示Invalid UTF-8

研究了一下

發現是locale在更新的時候沒設定好

```
$ cat /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"
```

重登之後就恢復正常了

沒有留言:

張貼留言