Ian Lynagh wrote:
Prelude Data.Char> map ord "ö"
[195,182]
Prelude Data.Char> length "ö"
2

there are actually 2 bytes there, but your terminal is showing them as
one character.
So let's all switch to unicode ASAP and leave that horrible multi-byte-string-thing behind us?

Cheers,
Peter




_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to