Hello everybody
I have a simple question regarding locale on Fedora core >= 5.
I have a EXT2 filesystem with filenames encoded using ISO-8859-1:
$ ls -b mnt/ [loic neumann ~]$ ls -b mnt/ A\304O\326\334\334.txt try_\344\366\374.txt
[loic neumann ~]$ ls mnt/ | iconv -f ISO_8859-1 AÄOÖÜÜ.txt try_äöü.txt
How should I set the locale so that the filenames are displayed correctly (i.e. using ISO-8859-1 encoding)? With that appropriate setting, I'd like that the "ls mnt/" command shows: AÄOÖÜÜ.txt try_äöü.txt
Why not convert the filenames into UTF8?
yum install convmv convmv -f iso-8859-1 -t utf8 -r mnt/
Add --notest to convmv to do the actual conversion.
I can't. The EXT2 filesystem resides actually on a NAS that uses internally ISO-8859-1 for filenames enconding, not UTF-8. Changing to UTF-8 would mess things up.
Thanks, Loic.