Ian Lynagh wrote:
So let's all switch to unicode ASAP and leave that horrible multi-byte-string-thing behind us?Prelude Data.Char> map ord "ö" [195,182] Prelude Data.Char> length "ö" 2there are actually 2 bytes there, but your terminal is showing them as one character.
Cheers, Peter _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe