SVN -> HG import of Mixed Encoding Files

Matt Mackall mpm at selenic.com
Wed Jul 23 04:44:19 UTC 2008


On Tue, 2008-07-22 at 21:58 -0500, Peter Yu wrote:
> Hi,
> 
> This may be related to the whole "German umlauts" thing in some way.
> 
> I currently have a SVN repository I'm trying to import.  It has now
> failed due to the fact that certain files are in ASCII (which is about
> the same as UTF-8, so was accepted happily) and certain files are in
> UTF-16.

> Naturally, when the UTF-16 files were encountered, Mercurial refused
> to take it, since it's obviously not UTF-8, which HG had determined to
> be the prevalent encoding.

Mercurial doesn't ask, know, or care about file encodings. It doesn't
care if your file is ASCII, UTF-31, or a JPEG. It only cares about bits.
Perhaps the SVN converter is doing something silly here.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list