[issue2162] BOM (byte order mark) support for Mercurial.ini

Sune Foldager cryo at cyanite.org
Wed Apr 28 16:56:29 CDT 2010


On 28-04-2010 12:45, Masklinn wrote:
> There's also the issue that no two systems use the same encoding (let alone use them consistently), and even if you get two systems to agree on an (hopefully unicode-based) encoding they probably will disagree on something else making all your earlier efforts pointless. For instance OSX uses NFD for file names where most Linux systems use NFC. This means a file name which displays fine might not be selectable via the console (and potentially via other APIs), because the NFC you'll enter (if the file was transferred from OSX to Linux) will not match the on-disk NFD name.

Well, NFD at least ensures a unique representation, whereas on Linux
anything goes :(

/Sune


More information about the Mercurial-devel mailing list