Java Desktop System Release 2 Troubleshooting Guide

Cannot Display Localized Filenames And Directory Names

Problem  

Bug ID: 4961948 

Affects all locales. 

If a Windows partition exists on the hard disk, the installer automatically mounts the partition during installation, and sets the iocharset option or the nls option in the /etc/fstab file to iso-8859–1. This is not the correct value of the iocharset option or the nls option. As a result, the system cannot display localized files or directory names.

Solution  

You need to assign a correct value for the iocharset option or the nls option in the /etc/fstab file for the current locale. Use the values in the following table.

Examples of /etc/fstab file content for the iocharset option and nls option:

  • /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

Locale 

ntfs 

vfat 

ja_JP.UTF-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

*Change big5 and gb2312 to utf8 if a Chinese UTF-8 locale is used.