On Jan 23, 2008 11:56 AM, Jules Bean <[EMAIL PROTECTED]> 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.

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

Reply via email to