Re: 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
>
> 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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux