Operating System - Linux
1835268 Members
2363 Online
110078 Solutions
New Discussion

problem with locales between RedHat9 and Win2000

 
SOLVED
Go to solution
Louis Coilliot
Advisor

problem with locales between RedHat9 and Win2000

Hello,

I've got a problem with unicode and/or european locales on RedHat 9 when I copy files from a Windows 2000 server

There is a problem with accentuated characters in files (éêûô etc...)

My method is:
- I mount a windows share with smbmount
- Then I synchronise files of this share localy


Example:
rsync: recv_generator: mkdir "2003/Chrono courrier/COURRIER PAR
CLIENT/Caisse de cong~Bs pay~Bs": Invalid argument (2)

I should have: "congés payés" and not "cong~Bs pay~Bs"

For some files it is impossible to make the copy (when the accents are on capital letters, for example)

My locales are LANG=fr_FR.UTF-8 and LC_ALL=fr_FR@euro

I thought Windows2000 was in unicode, and UTF8 is unicode (did I miss something ?)


I tried to get back with LANG=fr_FR@euro, but it does not work either

Anyway, on system messages, I also got strange characters instead of some accents.

It's better (not perfect) on Mandrake, but I don't know why.

any suggestion
Waterloo morne plaine
3 REPLIES 3
Marcin Golembski_1
Honored Contributor
Solution

Re: problem with locales between RedHat9 and Win2000

I think you might need to use 'iocharset=' and 'codepage=' options of smbmount command.

Louis Coilliot
Advisor

Re: problem with locales between RedHat9 and Win2000

That's it. It works perfectly, thanks.
Waterloo morne plaine
Louis Coilliot
Advisor

Re: problem with locales between RedHat9 and Win2000

Thanks to Marcin Golembski
Waterloo morne plaine