
16 Dec
2010
16 Dec
'10
8:53 p.m.
Hello, on http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/System-IO... it says:
An attempt to write a character greater than '\255' to a Handle using the latin1 encoding will result in an error.
However, according to my experience (with GHC 6.12.1 and base 4.2.0.0), latin1 just outputs a character '\cccc' as cccc `mod` 256. Should the docs be changed? Best wishes, Wolfgang