I have set up Samba 2.2.1a on a RH Linux 7.1 (english) machine. The problem I have is that the clients are all japanese OS windows machines (95, 98, and 2000). When clients try and drag or create files/folders on the samba share that have japanes characters the names get garbled or messed up in some way. I have added the followinf to smb.conf but it did not help: [global] client code page = 932 codingsystem = EUC My locale is: [root@linux bin]# locale LANG=en LC_CTYPE="en" LC_NUMERIC="en" LC_TIME="en" LC_COLLATE="en" LC_MONETARY="en" LC_MESSAGES="en" LC_PAPER="en" LC_NAME="en" LC_ADDRESS="en" LC_TELEPHONE="en" LC_MEASUREMENT="en" LC_IDENTIFICATION="en" LC_ALL Can anyone tell me how to enable japanese support *and* keeping my Linux running in english (I can't read japanese). Thanks! JC _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Jean-Christian Imbeault wrote:>I have set up Samba 2.2.1a on a RH Linux 7.1 (english) machine. The >problem I have is that the clients are all japanese OS windows >machines (95, 98, and 2000). When clients try and drag or create >files/folders on the samba share that have japanes characters the >names get garbled or messed up in some way. > >I have added the followinf to smb.conf but it did not help: > >[global] > >client code page = 932 >codingsystem = EUCBasically your setting is good enough, locale setting on the OS does not concern.>When clients try and drag or create >files/folders on the samba share that have japanes characters the >names get garbled or messed up in some way.In original Samba 2.x.x, some Japanese characters are not correctly handled. If only some characters (User defined character or Vendor defined characters)are broken, you probably met this problem. And of course if you look at these Japanese files on Linux box, the filenames look like broken strings. if you could, - at first change "coding system = HEX" - ask Japanese people to write some KANJI characters correctly displayed - ask to write some KANJI charaters not correctly displayed - run ls to show these filenames and send the result. If Japanese admin exists, please subscribe samba-jp mailing-list from http://www.samba.gr.jp/ml/#samba-jp, and ask the question. ----- TAKAHASHI, Motonobu(monyo) monyo@samba.org Personal - http://home.monyo.com/ Samba Team - http://samba.org/ Samba-JP - http://www.samba.gr.jp/ JWNTUG - http://www.jwntug.or.jp/ Analog-JP - http://www.jp.analog.cx/ MCSE+I, SCNA, CCNA, Turbo-CI
Thanks! You are right. But is there any way to get the japanese to display on my Linux box? I'm actually going to use these file in some PHP code but I can't figure out how to sort them or similar things because the filenames are "encrypted" ... Jc>From: monyo@samba.org (TAKAHASHI Motonobu) >To: jean_christian@hotmail.com >CC: samba@lists.samba.org >Subject: Re: Japanese filename problem >Date: Mon, 15 Oct 2001 18:13:23 +0900 > >Jean-Christian Imbeault wrote: > > >I have set up Samba 2.2.1a on a RH Linux 7.1 (english) machine. The > >problem I have is that the clients are all japanese OS windows > >machines (95, 98, and 2000). When clients try and drag or create > >files/folders on the samba share that have japanes characters the > >names get garbled or messed up in some way. > > > >I have added the followinf to smb.conf but it did not help: > > > >[global] > > > >client code page = 932 > >codingsystem = EUC > >Basically your setting is good enough, >locale setting on the OS does not concern. > > >When clients try and drag or create > >files/folders on the samba share that have japanes characters the > >names get garbled or messed up in some way. > >In original Samba 2.x.x, some Japanese characters are not correctly >handled. >If only some characters (User defined character or Vendor defined >characters)are broken, you probably met this problem. > >And of course if you look at these Japanese files on Linux box, the >filenames look like broken strings. > >if you could, > > - at first change "coding system = HEX" > - ask Japanese people to write some KANJI characters correctly > displayed > - ask to write some KANJI charaters not correctly displayed > - run ls to show these filenames and send the result. > > > If Japanese admin exists, please subscribe samba-jp mailing-list > from http://www.samba.gr.jp/ml/#samba-jp, and ask the question. > >----- >TAKAHASHI, Motonobu(monyo) monyo@samba.org >Personal - http://home.monyo.com/ >Samba Team - http://samba.org/ Samba-JP - http://www.samba.gr.jp/ >JWNTUG - http://www.jwntug.or.jp/ Analog-JP - http://www.jp.analog.cx/ >MCSE+I, SCNA, CCNA, Turbo-CI > >_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp