Okay, it makes somewhat more sense now after reading that thread. But technically, why doesshow "ü"not handle Unicode? Isn't the internal representation of [Char] actually still Unicode, as perThanks!kOn Wed, Mar 5, 2014, at 01:46 PM, Clark Gaebel wrote:"Show" is for debug output. It's not a generic "to_string". See this thread [1] from last week for more info.
- ClarkOn Wed, Mar 5, 2014 at 4:43 PM, <k@ioctl.it> wrote:Hello!I'm sure this has been answered many times before, but I can't find anexplanation for this behavior anywhere. The question I have is a generalone regarding 'show'. Why doesmain = doputStrLn "ü"➜ ~ runhaskell test.hsüand:main = doputStrLn $ show "ü"➜ ~ runhaskell test.hs"\252"Thank you all for an enlightening answer already!Best,k_______________________________________________Haskell-Cafe mailing list--Clark.Key ID : 0x78099922Fingerprint: B292 493C 51AE F3AB D016 DD04 E5E3 C36F 5534 F907
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe