
22 Jan
2008
22 Jan
'08
10 a.m.
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