
10 Feb
2006
10 Feb
'06
7:03 a.m.
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.