[Haskell-cafe] question about GHC and Unicode

John Goerzen jgoerzen at complete.org
Wed Apr 30 14:18:00 EDT 2008


On Wed April 30 2008 11:30:05 am Brandon S. Allbery KF8NH wrote:
> 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?

Nope, never said it was.  I was just pointing out that the OP (IIRC) asked 
for Unicode in general, and didn't specify UTF-8 specifically... and that 
UTF-8 is just part of that bigger picture.


> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe




More information about the Haskell-Cafe mailing list