[Haskell-cafe] question about GHC and Unicode

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Apr 30 12:30:05 EDT 2008


On Apr 29, 2008, at 7:19 PM, Albert Y. C. Lai wrote:

> John Goerzen wrote:
>> That's a wonderful interface, but unfortunately it appears to  
>> assume that your Unicode I/O is always UTF-8, and never UTF-16.  I  
>> happen to deal with more UTF-16 data than UTF-8 over here at the  
>> moment.
>
> http://hackage.haskell.org/cgi-bin/hackage-scripts/package/encoding  
> seems to have UTF-16.

Just as a comment on the original comment:  maybe it's just an  
unfortunate choice of phrasing, but is it really *that* surprising  
that a package called "utf8-string" assumes UTF-8 encoding?


More information about the Haskell-Cafe mailing list