[Haskell-cafe] Has character changed in GHC 6.8?

Peter Verswyvelen bf3 at telenet.be
Tue Jan 22 10:00:23 EST 2008


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






More information about the Haskell-Cafe mailing list