[Haskell-cafe] Strings and utf-8

Paul Johnson paul at cogito.org.uk
Tue Nov 27 13:38:13 EST 2007


Brandon S. Allbery KF8NH wrote:
> However, the IO system truncates [characters] to 8 bits.  I
Should this be considered a bug?  I presume that its because <stdio.h> 
was defined in the days of ASCII-only strings, and the functions in 
System.IO are defined in terms of <stdio.h>.  But does this need to be 
the case in the future?

Unfortunately I don't know enough about Unicode IO to judge.

Paul.




More information about the Haskell-Cafe mailing list