Bryan O'Sullivan wrote:
The new 0.7 release of the text package
<http://hackage.haskell.org/package/text> adds support for Unicode I/O,
using either the new locale-aware Handle code in 6.12 or a fallback on
older releases.
Details:
http://www.serpentine.com/blog/2009/12/15/data-text-0-7-gains-io-support/
How do you pack Unicode codepoints into Word16? Do you use UTF-16?
Supposing -
s = "\x010A60\x010A61" -- Old South Arabian script
t = pack s
Is (unpack t) the same as s? What is (length t)?
--
Ashley Yakeley
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe