2010/1/28 Bulat Ziganshin <bulat.ziganshin at gmail.com>
> Hello Gunther,
>> Thursday, January 28, 2010, 4:07:07 PM, you wrote:
>> > thanks for the tip, but how do I use the library?
> > I can't really make out how to feed it UTF-16 and get String (UTF-8)
> back.
>> 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.
Cheers,
Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100128/606ce8b3/attachment.html