Re: Synchronizing between Windows and Linux: character encoding problem

From: Niels L. Ellegaard (gnalle_at_ruc.dk)
Date: 07/31/04

  • Next message: Scott Thompson: "RE: OT: Judicial election/appointment (was Re: Is Linux Unix?)"
    To: debian-user@lists.debian.org
    Date: 31 Jul 2004 00:58:36 +0200
    
    

    Debian Users <debian-user@lists.debian.org> writes:

    > Hello there!
    >
    > I am trying to synchronize files between a laptop running either Windows
    > XP or Debian and a Debian file server. I have tried rsync and unison on
    > the Linux install of the laptop and rsync (under Cygwin) on the Windows
    > install, but both were unable to transfer files with special characters
    > (here: German umlauts) correctly.

    I don't know if the following is helpful, but there was a related message
     in the unison yahoo group (I found it on google).
    http://groups.yahoo.com/group/unison-users/message/2616

    On Tue, Jun 22, 2004 at 02:49:09PM +0100, Nuno Ferreira wrote:
    > I'm trying to synchronize from windows 2000 to linux and I have problems
    > with non-ascii characters in filenames.
    [...]
    > It appears that the filenames are using utf8 on the linux side and
    > iso8859-15 or similar on the windows side and no conversion is made.
    > Is there a way to fix it in unison? Is it a bug?

    Windows provides two API for manipulating files: a 8-bit API where
    filenames are encoded in the current locale and a 16-bit API where
    filenames are encoded in Unicode (UTF-16). At the moment, Unison uses
    the 8-bit API, as this is what is provided by Ocaml under Windows. I
    think we should eventually switch to the Unicode API (or maybe allow
    to choose between the two APIs). However, this is a significant
    amount of work, and none of the Unison developpers are using
    Windows...

    -- Jerome
     

    -- 
    Niels L Ellegaard  http://dirac.ruc.dk/~gnalle/
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Scott Thompson: "RE: OT: Judicial election/appointment (was Re: Is Linux Unix?)"

    Relevant Pages

    • Re: newbe about API
      ... Emne: Re: newbe about API ... > I found all these API-CALL strings are finally compiled to ... more than that...and Windows simply takes this to an extreme that this ... DLL, when a weak point is found (which, with Microsoft, is something ...
      (alt.lang.asm)
    • unsubscribe
      ... > newsgroup for Debian ... > forward to install to your hard drive. ... > to install the Cygwin stuff on all my Windows boxes. ... like in an SSH client like PuTTY ?? ...
      (Debian-User)
    • Re: In the Shallow End
      ... When a document claims how an API is supposed to be used and then gives the user examples that actually work, ... Vague in your instance means you have no context to VMS or UNIX of that era. ... Windows offers lots of this stuff. ... That's why Apple had to dump a whole paradigm to plunge ahead and take the lead. ...
      (comp.sys.mac.advocacy)
    • Re: Using Linux on a Family PC
      ... I don't know of anything that will let Windows ... > games play on a machine that old at any kind of useable speed. ... Thanks to Debian, installing, updating and removing software is very ... The PC is behind 2 routers and I'll use a iptables firewall like ...
      (Debian-User)
    • Re: bits/news from the users of Debian?
      ... took the plunge and became a 100% Linux user on my home desktop, ... Windows at my work. ... I switched to Debian Etch full time on my desktop. ... loop-aes-utils (powerfull and fantastic for crypting files or mounting CD ...
      (Debian-User)