Java Desktop System 發行版本 2 疑難排除指南

無法顯示本土化的檔案名稱與目錄名稱

問題  

錯誤 ID: 4961948  

所有的語言環境皆有此問題。 

如果硬碟中並沒有 Windows 分割區,安裝過程中安裝程式會自動掛載分隔區並在 /etc/fstab 檔案中將 iocharsetnls 選項設定為 iso-8859–1。此設定並非 iocharsetnls 選項的正確設定。 因此,系統無法正確地顯示本土化的檔案名稱或目錄名稱。

解決方案  

必須在 /etc/fstab 檔案中為目前的語言環境指定正確的值給 iocharsetnls 選項。 請使用下表中的值。

/etc/fstab 檔案中 iocharsetnls 選項內容的範例:

  • /dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0

  • /dev/sda2 /windows/C vfat users,gid=users,umask=0002,iocharset=utf8,codepage=932

語言環境 

ntfs 

vfat 

ja_JPUTF-8 

nls=utf8

iocharset=utf8,codepage=932

ko_KR.UTF-8 

nls=utf8

iocharset=utf8,codepage=949

zh_CN.gb18030 

nls=gb2312*

iocharset=gb2312,codepage=936*

zh_TW.big5 

nls=big5*

iocharset=big5,codepage=950*

zh_HK.big5hkscs 

nls=big5*

iocharset=big5,codepage=950*

en_US.UTF-8 

de_DE.UTF-8 

es_ES.UTF-8  

fr_FR.UTF-8 

it_IT.UTF-8 

sv_SE.UTF-8 

nls=utf8

iocharset=utf8

*如果使用中文的 UTF-8 語言環境,請將 big5gb2312 變更為 utf8