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 Haskell is working with Unicodes?

In theory yes, but there is no library infrastructure for conversion
between Unicode and external byte encodings yet. For most programs
which work with a single encoding it doesn't hurt, although they are
misusing Char values if the encoding is not ISO-8859-1.

-- 
   __("<         Marcin Kowalczyk
   \__/       [EMAIL PROTECTED]
    ^^     http://qrnik.knm.org.pl/~qrczak/

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to