From: Matthias Andree Date: Wed, 13 May 2009 20:57:12 GMT Subject: Re: Cross-Platform Version Control Message-ID: In-Reply-To: Am 13.05.2009, 19:12 Uhr, schrieb Linus Torvalds : > Use and stringprep_utf8_nfkc_normalize() or something to > do the actual normalization if you find characters with the high bit > set. And since I know that the OS X filesystems are so buggy as to not > even do that whole NFD thing right, there is probably some OS-X specific > "use this for > filesystem names" conversion function. Sorry for interrupting, but NF_K_C? You don't want that (K for compatibility, rather than canonical, normalization) for anything except normalizing temporary variables inside strcasecmp(3) or similar. Probably not even that. The normalizations done are often irreversible and also surprising. You don't want to turn 2³.c into 23.c, do you? -- Matthias Andree