[Haskell-cafe] Re: File path programme

Stefan Monnier monnier at iro.umontreal.ca
Sat Jan 29 18:31:54 EST 2005


> The various UTF encodings do not have this particular problem; if a UTF
> string is valid, then it is a unique representation of a unicode string.
> However, decoding is still a partial function and can fail.

And while it is partly true, it is qualified by the problems relative to
canonicalization (an "é" in Unicode can both be represented as "é" or as two
chars (an e and an accent) and they should (ideally) compare equal).


        Stefan



More information about the Haskell-Cafe mailing list