[Haskell-cafe] Has character changed in GHC 6.8?

Jules Bean jules at jellybean.co.uk
Wed Jan 23 06:13:05 EST 2008

Johan Tibell wrote:
> 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?
>> [snip]
>> 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.

No arguments there.

Presumably there wasn't a sufficiently good answer available in time for 


More information about the Haskell-Cafe mailing list