LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SAMBA: display of share names is OK but files names are wrong (https://www.linuxquestions.org/questions/linux-software-2/samba-display-of-share-names-is-ok-but-files-names-are-wrong-135114/)

superandrzej 01-15-2004 11:45 AM

SAMBA: display of share names is OK but files names are wrong
 
HI,

I'm using Samba 3.0 on Slackware 9.1.
I can access my windows shares (WindowsXP PL) and their names (in Polish) are displayed correctly but names of files containing Polish letters within Windows shares are displayed and transfered between Linux and Windows wrongly .

I've added the following lines in smb.conf. in order to have correct shares names:
dos charset = CP852
unix charset = ISO8859-2

Does anyone knows how to have correct transfer and display of file names??

pedro_nf 01-16-2004 02:34 AM

go here to get some info about ISO 8859-2...
http://nl.ijs.si/gnusl/cee/iso8859-2.html

are you shure about the char set used by windows XP? The CP852 looks like old DOS stuff... :)

superandrzej 01-21-2004 09:55 AM

I've read all the information from the page indicated above and also from the pages advised on this page.
CP852 was used with dos and then it was replaced with CP1250.
but when I indicate CP1250 in smb.conf than I CANNOT mouth any share with Polish names letters and with CP852 I can.

Maybe this is a bug because I cannot find any option in smb.conf which I could use to fix this :(

pedro_nf 01-21-2004 10:50 AM

not much experience with polish charset...

look at this page:
http://de.samba.org/samba/docs/man/unicode.html

hope it helps...

superandrzej 02-02-2004 07:46 AM

Thank you Pedro,

I've already checked this page in first place, but found nothing useful for my case.
I've done some trial transfers with the settings what I mentioned above and I can correctly see and transfer files with Polish encoding in their names from Linux do Windows XP. Shares' names with Polish encoding are also visible and can be connected to from Windows XP.
So the conclusion is that samba server is OK but there is something wrong with samba client. I'will keep looking for the solution.

pedro_nf 02-02-2004 09:14 AM

Quote:

Originally posted by superandrzej
Thank you Pedro,
...
So the conclusion is that samba server is OK but there is something wrong with samba client. I'will keep looking for the solution.

You'r well come!
Try to post your samba client question to : linux-utf8@nl.linux.org
this guys are realy good with utf8 stuff and char encoding!
Greets
Pedro


All times are GMT -5. The time now is 01:03 AM.