[Haskell-cafe] Problem with text and text-icu packages
david.m.carter at gmail.com
Tue May 12 10:16:43 EDT 2009
I'm struggling with text-0.1 and text-icu-0.1, as announced at
The code in
is intended to read in a UTF-8 file a1.txt, reverse it twice, and
write it out to another UTF-8 file a2.txt, which I would have thought
should make a2.txt identical to a1.txt. Mostly it is, but sometimes it
% echo a > a1.txt
% tryicu # <- my code
% cat a2.txt
Specifically, a1.txt contains bytes 97 and 10, while a2.txt contains
bytes 224 160 139 237 144 164.
Have I misconstrued things, or is this a bug?
I am running ghc 6.10.2 and ICU 4.0.1 on SuSE.
Thanks for any help
More information about the Haskell-Cafe