<div dir="ltr">I wrote:<br>> On Mac OS X, it's normalized Unicode.<div><br></div><div>Brandon Allbery wrote:<br><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra">This is only true for higher level OS X APIs. ghc normally operates in the BSD layer, which mostly follows POSIX semantics; in particular, filesystem paths are bytestrings in the BSD layer, and only normalized in Cocoa APIs.</div></div></blockquote><div><br></div><div>If I happen to be writing a program that only interacts with the</div><div>BSD layer, then I can use the POSIX-style FilePath.</div><div>But as an application writer, most of the time I'll be dealing</div><div>with Mac OS X paths that need to work correctly with Cocoa.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div dir="ltr"><div></div></div></div>
</div></div></blockquote></div></div></div></div>