[email protected]
[Top] [All Lists]

Re: [Haskell-cafe] Re: [ANN] text 0.7, fast Unicode text

Subject: Re: [Haskell-cafe] Re: [ANN] text 0.7, fast Unicode text
From: Cetin Sert
Date: Wed, 16 Dec 2009 06:54:42 +0100
http://corsis.sourceforge.net/img/csharp-6.png
o__O!?

2009/12/16 Bryan O'Sullivan <[email protected]>
On Tue, Dec 15, 2009 at 8:03 PM, Ashley Yakeley <[email protected]> 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#) :-)

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>