<div class="gmail_quote">On Tue, Dec 15, 2009 at 8:03 PM, Ashley Yakeley <span dir="ltr"><<a href="mailto:ashley@semantic.org">ashley@semantic.org</a>></span> wrote:<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
How do you pack Unicode codepoints into Word16? Do you use UTF-16?<br></blockquote><div><br></div><div>You don't get to find out as a user of the Text API, but yes. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Supposing -<br>
<br>
s = "\x010A60\x010A61" -- Old South Arabian script<br>
t = pack s<br>
<br>
Is (unpack t) the same as s? What is (length t)?<br></blockquote><div><br></div><div>Yes, and 2. Any other answer would clearly be wrong (I'm lookin' at you, Java and C#) :-)</div></div>