[Haskell-cafe] Has character changed in GHC 6.8?
johan.tibell at gmail.com
Wed Jan 23 05:59:48 EST 2008
On Jan 23, 2008 11:56 AM, Jules Bean <jules at jellybean.co.uk> wrote:
> Peter Verswyvelen wrote:
> > Now I'm getting a bit confused here. To summarize, what encoding does
> > GHC 6.8.2 use for [Char]? UCS-32?
> What *does* matter to the programmer is what encodings putStr and
> getLine use. AFAIK, they use "lower 8 bits of unicode code point" which
> is almost functionally equivalent to latin-1.
Which is terrible! You should have to be explicit about what encoding
you expect. Python 3000 does it right.
More information about the Haskell-Cafe