CIFS problem with Umlaute in filename on Fedora Core 5
Alexander Apprich
a.apprich at science-computing.de
Mon Jun 25 13:19:41 UTC 2007
Hi Loic,
Loic Domaigne wrote:
> Hello Everybody,
>
> I am facing some issues with CIFS and german character encoding for file names
> under Fedora Core 5.
>
> I have a NAS storage (DNS-323) running an embedded Linux with samba. This
> device is able to support Western European encoding, which is set in the
> smb.conf as follows:
>
> [ global ]
> client code page = 850
> character set = ISO8859-1
> ...
>
>>From my wife's laptop running Windows XP, file names with Umlaute äöü etc. are
> correctly shown. However, if I map the same drive under Fedora Core 5, the
> filenames with Umlaute are shown as strange ? combination:
>
> # mount -t cifs -o username=antje%xxx,iocharset=iso8859-1 //<IP>/Volume_1/LaptopAntje /mnt/nas
> # ls /mnt/nas/
> hmm ?.txt ?h?.txt PICT3303.JPG
>
> For instance ?h?.txt should be ähö.txt.
>
> I have tried to set the locale to de_DE.ISO-8859-1, but no avail.
> # export LC_ALL=de_DE.ISO-8859-1
> # ls /mnt/nas/
> hmm .txt ?h?.txt PICT3303.JPG
>
> Even more interesting, the same file names are correctly shown under
> konqueror using the smb:// mapping.
>
> Could someone point me what I am doing wrong? Any help would be greatly
> appreciated.
>
what is the content of yout $LANG variable? Could you try to unset it
and then ls the directory again? Also there is a mount option called
iocharset. Maybe this will help.
Alex
--
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196
More information about the fedora-list
mailing list