[Haskell-cafe] Re: Ready for testing: Unicode support for Handle I/O
paolo at hypersonic.it
Wed Feb 4 05:33:21 EST 2009
Simon Marlow wrote:
> The only change to the existing behaviour is that by default, text IO
> is done in the prevailing encoding of the system. Handles created by
> openBinaryFile use the Latin-1 encoding, as do Handles placed in
> binary mode using hSetBinaryMode.
wouldn't be semantically correct for a "binary handle"
to "return" [Word8]?
also switching from text to binary (hSetBinaryMode)
doesn't seem "natural"
I understand that this has "heavy" consequences...
More information about the Haskell-Cafe