Cast from and to CChar

Marcin 'Qrczak' Kowalczyk qrczak at
Mon Oct 27 22:31:45 EST 2003

W liście z pon, 27-10-2003, godz. 20:47, Christian Buschmann pisze:

>    Prelude Foreign.C> castCCharToChar $ castCharToCChar 'ü'
> I would expect that this returns 'ü', but it returns '\252'.

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

   __("<         Marcin Kowalczyk
   \__/       qrczak at

More information about the Haskell-Cafe mailing list