[Haskell-cafe] UTF-16 to UTF-8

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Jan 28 08:31:26 EST 2010


Hello Johan,

Thursday, January 28, 2010, 4:20:48 PM, you wrote:

> Haskell String type isn't UTF-8 encoded. it's [Char] where Char is in
>  UCS-4 aka UTF-32 :)

> That's not quite correct. [Char] is a sequence of Unicode code
> points, UTF-32 is one possible encoding of those code points. The
> difference is similar to the one between an integer an e.g. its string representation.

i say exactly about its encoding :D


-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list