
17 Aug
2010
17 Aug
'10
7:14 a.m.
Tako Schotanus
On Tue, Aug 17, 2010 at 12:54, Ivan Lazar Miljenovic < ivan.miljenovic@gmail.com> wrote:
Tom Harper
writes: 2010/8/17 Bulat Ziganshin
: Hello Tom,
<snip>
i don't understand what you mean. are you support all 2^20 codepoints in Data.Text package?
Bulat,
Yes, its internal representation is UTF-16, which is capable of encoding *any* valid Unicode codepoint.
Just like Char is capable of encoding any valid Unicode codepoint.
Unless a Char in Haskell is 32 bits (or at least more than 16 bits) it con NOT encode all Unicode points.
http://www.haskell.org/onlinereport/lexemes.html -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com