I am unable to properly view ISO8859-15 characters (typicaly characters with accent such as ?, ?, ?...) from filenames on a samba server using fedora core 3. After spending hours on it, I have been unable to find a solution. Any help from you would be greatly appreciated. Here is the description of my configuration: I have 3 machines running: - one server with fc3 - one PC "PC1" with fc3 - one PC "PC2" with XP The server runs samba 3.0.8-0.pre1.3 with the following /etc/samba/smb.conf file: =======================# Global parameters [global] unix charset = ISO8859-15 display charset = ISO8859-15 workgroup = MYGROUP netbios name = SAMBA server string = Samba Server log file = /var/log/samba/%m.log max log size = 1000 unix extensions = No load printers = No hosts allow = 127.0.0.1, 192.168.0. hosts deny = all [homes] comment = Home Directories read only = No ======================= On both the server and PC1 the /etc/sysconfig/i18n file is set like this: =========LANG="fr_FR@euro" SUPPORTED="fr_FR.ISO8859-15:fr_FR:fr" SYSFONT="latarcyrheb-sun16" ========= On PC1, I mount the samba file at start-up with the following line in the /etc/fstab : //192.168.0.4/bg /mnt/serveur cifs rw,uid=bgirin,credentials=/etc/samba/pwd_bg 0 0 The mounting works fine and from PC1 I can access the files on the server except that any filename from the server containing non-English characters (such as ?, ?, ?...) won't display correctly on PC1. I have not such a problem when I access the same files using PC2 (under XP). And before using fc3, I was running RH9 on both PC1 & server and did not have such problem. I have done a large number of tests and was not able to find a solution. If you have any idea, please let me know ! Bertrand
i think it is a problem with the default unic xharset. In fedora core3 you are using utf8 as the default charset. I have had similar problems when migrating a machine from RH72 to FC2. You have to set the unix charset to utf, and also, maybe you have to change the enconding of the filenames. I use a little utility called conmvm..... http://j3e.de/linux/convmv/ hope this help! RP forumemail2 wrote:> I am unable to properly view ISO8859-15 characters (typicaly characters > with accent such as ?, ?, ?...) from filenames on a samba server using > fedora core 3. After spending hours on it, I have been unable to find a > solution. Any help from you would be greatly appreciated. > > Here is the description of my configuration: > > I have 3 machines running: > - one server with fc3 > - one PC "PC1" with fc3 > - one PC "PC2" with XP > > The server runs samba 3.0.8-0.pre1.3 with the > following /etc/samba/smb.conf file: > > =======================> # Global parameters > [global] > unix charset = ISO8859-15 > display charset = ISO8859-15 > workgroup = MYGROUP > netbios name = SAMBA > server string = Samba Server > log file = /var/log/samba/%m.log > max log size = 1000 > unix extensions = No > load printers = No > hosts allow = 127.0.0.1, 192.168.0. > hosts deny = all > > [homes] > comment = Home Directories > read only = No > =======================> > On both the server and PC1 the /etc/sysconfig/i18n file is set like > this: > > =========> LANG="fr_FR@euro" > SUPPORTED="fr_FR.ISO8859-15:fr_FR:fr" > SYSFONT="latarcyrheb-sun16" > =========> > On PC1, I mount the samba file at start-up with the following line in > the /etc/fstab : > > //192.168.0.4/bg /mnt/serveur cifs > rw,uid=bgirin,credentials=/etc/samba/pwd_bg 0 0 > > The mounting works fine and from PC1 I can access the files on the > server except that any filename from the server containing non-English > characters (such as ?, ?, ?...) won't display correctly on PC1. > > I have not such a problem when I access the same files using PC2 (under > XP). And before using fc3, I was running RH9 on both PC1 & server and > did not have such problem. > > I have done a large number of tests and was not able to find a solution. > If you have any idea, please let me know ! > > Bertrand
Thank you for you help. It is now working ! Here is what I have done: On the server the smb.conf file is now: ==================[global] workgroup = MYGROUP netbios name = SAMBA server string = Samba Server log file = /var/log/samba/%m.log max log size = 1000 unix extensions = No load printers = No hosts allow = 127.0.0.1, 192.168.0. hosts deny = all [homes] comment = Home Directories read only = No ================== On both the server & PC1 the /etc/sysconfig/i18n file is: ========LANG="fr_FR.UTF-8" SUPPORTED="fr_FR.UTF-8:fr_FR:fr" SYSFONT="latarcyrheb-sun16" ======== Then I have no problem anymore with the new files. For existing files that were not created with utf8 but with iso8859, I have used the tools you suggested http://j3e.de/linux/convmv/ and it worked perfectly. Now both laptops using FC3 and XP can connect to the FC3-server ! Thank you very much for your help.