UTF-8 decoding
Christian Maeder
maeder at tzi.de
Fri Feb 10 07:03:38 EST 2006
Simon Marlow wrote:
> I'm not sure I see the problem - the I/O library doesn't do unicode
> encoding/decoding, it always just takes the low 8 bits of each
> character, hence truncating Unicode to Latin-1. If you restrict
> yourself to Latin-1 characters in string literals, then I/O will work as
> expected (i.e. Latin-1 only).
But if ghc-6.5 will expect utf-8 encoded source files all other haskell
applications reading or writing haskell files must be adapted as well or
am I wrong?
C.
More information about the Glasgow-haskell-users
mailing list