Unicode support request.
Augie Fackler
durin42 at gmail.com
Tue Oct 18 16:13:06 UTC 2011
On Oct 18, 2011, at 5:13 AM, 罗勇刚(Yonggang Luo) wrote:
> The mercurial has poor support of Unicode on Windows platform, and maybe
> also (Mac OS). So I request for that, especially about the File Path
> Encoding.
> At the current time, it's fully dependent on Window's Native encoding,
> that's really bad idea, and not working at all.
> So I propose to using UTF8 as the default encoding of file-path.
Filenames are opaque bytes on Linux as well as most unixes (FreeBSD, Solaris, etc). Only OS X and Windows have this brain damage about reencoding filenames into different bytes, and it causes problems. As a specific example, make(1) is oblivious to the notion of encodings, so if you start mangling the bytes that come in and out you run the risk of breaking people's build scripts. This has _actually happened_ to Subversion users, and it ends up being a nightmare when you encounter such a problem.
Trying to fix this in Mercurial is likely to cause more headaches than it's worth.
> --
> 此致
> 礼
> 罗勇刚
> Yours
> sincerely,
> Yonggang Luo
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
More information about the Mercurial
mailing list