|
Re: [unison-users] Problems with utf8 filenames
Hi,
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
|