UTF-16 in Mercurial

Martin Geisler mg at lazybytes.net
Sat Mar 6 07:09:57 CST 2010


Benoît Allard <benoit at aeteurope.nl> writes:

> Hi there,
>
> I've been experimenting on Windows with some UTF-16 (so called UNICODE
> under Windows) config files (registry export to be complete) and the
> attached -very- little extension that tries to make UTF-16 (or UTF-32)
> seen as text (not binary).
>
> It has the drawback of generating non consistent patches: the body of
> the patch being in the encoding of the file, and the metadata (@@,
> +++, ...) being in ANSI.
>
> In one word, it's a dead end. [...]

Thanks for testing it.

How does Subversion and other systems cope with these files?

-- 
Martin Geisler

Fast and powerful revision control: http://mercurial.selenic.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100306/fced0929/attachment.pgp>


More information about the Mercurial-devel mailing list