Hello List,

on a windows-pc are files with an EURO-Sign "€" included in the filenames. This is working between all XP and 2000 Clients.

But if i try to access such a file from a linux-box, I cannot read this files. I switched to the german charset with EURO Sign but no success. Then i tried the cifs instead of smbfs. But the same effect. Switching to UTF-8 doesn't work too.

Example:
--------
The "wint<EUROSIGN>uro.txt" file was created on a WindowsXP Workstation.
All other files are created from the Linuxbox with writeaccess to the WindowsXP PC.

mount -t cifs //192.168.9.115/Xchange /mnt/test -o codepage=cp850,iocharset=iso8859-15,unixcharset=iso8859-15

[EMAIL PROTECTED] ]# ls -lah /mnt/test/EURO
insgesamt 2,5K
drwxrwxrwx  1 root root 0  2005-12-01 16:30 .
drwxrwxrwx  1 root root 0  2005-12-01 14:26 ..
-rwxrwSrwt  1 root root 7  2005-12-01 09:14 [EMAIL PROTECTED]   (linux)
-rwxrwSrwt  1 root root 7  2005-12-01 10:09 T€uro        (linux)
-rwxrwSrwt  1 root root 0  2005-12-01 14:37 Ümläute      (linux)
-rwxrwSrwt  1 root root 7  2005-12-01 09:40 €uro         (linux)
-rwxrwSrwt  1 root root 23 2005-12-01 14:26 wint?uro.txt (win)

1. [EMAIL PROTECTED] ]# ls -lah /mnt/test/EURO/wint\?uro.txt
-rwxrwSrwt 1 root root 23 2005-12-01 14:26 /mnt/test/EURO/wint?uro.txt (seems to work)

Now with arrow-up from the history:
2. [EMAIL PROTECTED] ]# ls -lah /mnt/test/EURO/wint\?uro.txt
ls: /mnt/test/EURO/wint?uro.txt: Datei oder Verzeichnis nicht gefunden (no such file or directory)

3. [EMAIL PROTECTED] ]# cat /mnt/test/EURO/wint\?uro.txt
cat: /mnt/test/EURO/wint?uro.txt: Datei oder Verzeichnis nicht gefunden (no such file or directory)


NGREP Analysis:
---------------
I don't now what to do. So i ngreped the stuff:

1. the first ls (seems to work)
SMB2.........................c......................B........./........\.E.U.R.O.\.w.i.n.t.\.?.u.r.o...t.x.t...
=> the strange "?" sign gets escaped. It seems to work.

2. the seconds ls
SMB2.....................d...d..,.................,.B.........-........\.E.U.R.O.\.w.i.n.t.?.u.r.o...t.x.t...

3. cat
.............h...i.......&[EMAIL 
PROTECTED]'..\.E.U.R.O.\.w.i.n.t.?.u.r.o...t.x.t...


What can I do? No matter if i cannot see the EURO Sign. But I have to backup this files. Windows is allowing these characters.


regards
Stefan




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to