System.IO.latin1 docs

Wolfgang Jeltsch g9ks157k at
Thu Dec 16 21:53:05 CET 2010




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,
latin1 just outputs a character '\cccc' as cccc `mod` 256.

Should the docs be changed?

Best wishes,

More information about the Libraries mailing list