W liście z wto, 28-10-2003, godz. 12:30, Christian Buschmann pisze:
> 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?
Then don't use show, output characters directly (putChar, putStr).
> I thought that Char in Has
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
On Mon, Oct 27, 2003 at 08:47:41PM +0100, Christian Buschmann wrote:
> Hi!
> I've got following problem. If I enter in ghci following line:
> Prelude Foreign.C> castCCharToChar $ castCharToCChar 'ü'
> I would expect that this returns 'ü', but it returns '\252'. Is this the
> correct behaviour? O
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
Hi!
I've got following problem. If I enter in ghci following line:
Prelude Foreign.C> castCCharToChar $ castCharToCChar 'ü'
I would expect that this returns 'ü', but it returns '\252'. Is this the
correct behaviour? Or am I doing something wrong? Or are there any
problems with language specific