Cast from and to CChar

Christian Buschmann Christian.Buschmann at web.de
Tue Oct 28 12:30:54 EST 2003


Marcin 'Qrczak' Kowalczyk wrote:
> This is the same - instance Show Char displays non-ASCII characters
> that way. You get the same effect if you just type 'ü'.
> 

Thanks to you and John for the hints.
But what is the good reason that show is doing it that way? Wouldn't it 
be better to output the 'ü' as a 'ü' instead of a code? I thought that 
Char in Haskell is working with Unicodes?

   christian




More information about the Haskell-Cafe mailing list