>> 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. -- -- // Sender address goes to /dev/null (!!) // Use my 32/64 bits, ANSI C89, compliant email-address instead: unsigned y[]= {0,34432,26811,16721,41866,63119,61007,48155,26147,10986}; void x(z){putchar(z);}; unsigned t; main(i){if(i<10){t=(y[i]*47560)%65521;x(t>>8);x(t&255);main(++i);}} GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail