[Haskell-cafe] Re: String vs ByteString

Johan Tibell johan.tibell at gmail.com
Tue Aug 17 07:11:46 EDT 2010


On Tue, Aug 17, 2010 at 1:05 PM, Bulat Ziganshin
<bulat.ziganshin at gmail.com>wrote:

> Hello Tako,
>
> Tuesday, August 17, 2010, 3:03:20 PM, you wrote:
>
> > Unless a Char in Haskell is 32 bits (or at least more than 16 bits)
> > it con NOT encode all Unicode points.
>
> it's 32 bit
>

Like Bulat said it's 32 bit. It's *defined* as being the Unicode code point
number. It has no relation to e.g. char in C.

-- Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100817/c1c47f9c/attachment.html


More information about the Haskell-Cafe mailing list