On Tue, Dec 15, 2009 at 8:03 PM, Ashley Yakeley <ashley@semantic.org> wrote:
How do you pack Unicode codepoints into Word16? Do you use UTF-16?
You don't get to find out as a user of the Text API, but yes.
Supposing -
s = "\x010A60\x010A61" -- Old South Arabian script
t = pack s
Is (unpack t) the same as s? What is (length t)?
Yes, and 2. Any other answer would clearly be wrong (I'm lookin' at you, Java and C#) :-)