[Haskell-cafe] unicode text libraries

Ketil Malde ketil at malde.org
Tue Sep 29 04:48:53 EDT 2009

Johan Tibell <johan.tibell at gmail.com> writes:

> I agree with Don. Also, I don't think that a Unicode type should
> mention what encoding it uses as it's an implementation detail.

Right.  I see from the documentation that it uses Word16s (and presumably
the utf-16 encoding).  Out of curiosity, why was this particular
encoding chosen, as opposed to utf-8 or utf-32/ucs-4?  Any benchmarks or
other information?

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list