[Haskell-cafe] question about show

Brandon Allbery allbery.b at gmail.com
Wed Mar 5 22:26:34 UTC 2014

On Wed, Mar 5, 2014 at 5:20 PM, <k at ioctl.it> wrote:

>  Okay, it makes somewhat more sense now after reading that thread. But
> technically, why does
> show "ü"
> not handle Unicode? Isn't the internal representation of [Char] actually
> still Unicode, as per

Historical reasons, I imagine; Unicode I/O support is still relatively
recent in GHC, and I doubt anyone went back and revisited the Show instance
for Char.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140305/70779d7e/attachment.html>

More information about the Haskell-Cafe mailing list