Hi there, I have searched the rsync website, as well as an extensive search on google, but have been unable to come up with a definitive answer regarding whether rsync will synchronise files and directories which have Japanese characters in them. I am using an English language version of Linux, which has some directories shared via samba. Both English and Japanese language windows clients access these shares and save files and directories on them. In windows, the Japanese language files and directories are seen correctly, and can be used with no problems. However when I try and synchronise the above directories with another identically configured Linux machine, using rsync, it merely ignores all files and directories with any Japanese characters in them. Is this normal behaviour, or does rsync support synchronising Japanese character files and directories? The versions of software are: rsync 2.4.1 protocol version 24 samba 3.0-alpha19 Thanks for your time, Sean -- Sean Quinlan Sega Europe Ltd +44 (0) 208 996 4487 =======================================DISCLAIMER The contents of this e-mail and any attachments are confidential to the intended recipient and may also be legally privileged. Unless you are the named addressee (or authorised to receive for the addressee) of this email you may not copy, disclose or distribute it to anyone else. If you have received this email in error, please notify us immediately by e-mail on administrator@sega.co.uk and then delete the email and any copies. The Sega Group have made all reasonable efforts to ensure that this e-mail and any attached documents or software are free from software viruses, but it is the recipient's responsibility to confirm this. ========================================
On Thu 15 May 2003, Quinlan, Sean wrote:> However when I try and synchronise the above directories with another > identically configured Linux machine, using rsync, it merely ignores all > files and directories with any Japanese characters in them. > > Is this normal behaviour, or does rsync support synchronising Japanese > character files and directories? > > The versions of software are: rsync 2.4.1 protocol version 24 > samba 3.0-alpha19Firstly, rsync 2.4.1 is pretty ancient. Please always upgrade to the latest (and hopefully greatest) version before seeking help... 2.5.6 is current. Besides that, I don't see any reason why rsync should have difficulties with whatever character set the filenames are in; it sees a filename simply as a sequence of bytes. I've rsynced files with 8-bit characters successfully, so it should work for Japanese characters as well. Are you sure the "other" samba is configured identically? I had problems reading the files with 8-bit char filenames through samba until I sorted out the character sets correctly for samba (so that samba translated it correctly into what windows likes to see). Paul Slootman
On Thu, May 15, 2003 at 06:06:53PM +0100, Quinlan, Sean wrote:> Hi there, > > I have searched the rsync website, as well as an extensive search on google, > but have been unable to come up with a definitive answer regarding whether > rsync will synchronise files and directories which have Japanese characters > in them. > > I am using an English language version of Linux, which has some directories > shared via samba. Both English and Japanese language windows clients access > these shares and save files and directories on them. In windows, the > Japanese language files and directories are seen correctly, and can be used > with no problems. > > However when I try and synchronise the above directories with another > identically configured Linux machine, using rsync, it merely ignores all > files and directories with any Japanese characters in them. > > Is this normal behaviour, or does rsync support synchronising Japanese > character files and directories? > > The versions of software are: rsync 2.4.1 protocol version 24 > samba 3.0-alpha19Rsync only sees filenames as a sequence of bytes. It isn't restricted to 7 bit. The implication of this is that rsync is not multi-byte aware so i expect the codeset used could impact things. Names are NULL terminated. Attempting to specify paths on the command-line could be awkward and rsync will use the '/' characther (1 byte) to delimit directories of config options and command-line args. Your problem is most likely a codepage issue. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt