locale on fedora for ISO-8859-1?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

My current locale are:
[loic@neumann ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Thanks for your help,
Loïc.

-- 
--
// 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);}}

Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux