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

2009-12-15 Thread Ashley Yakeley
Cetin Sert wrote: http://corsis.sourceforge.net/img/csharp-6.png o__O!? That's just C# string literals. In Haskell, '\x010A60' '\x010A61', but in C#, '\x010A' '6' '0' '\x010A' '6' '1'. -- Ashley Yakeley _

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

2009-12-15 Thread Cetin Sert
http://corsis.sourceforge.net/img/csharp-6.png o__O!? 2009/12/16 Bryan O'Sullivan > On Tue, Dec 15, 2009 at 8:03 PM, Ashley Yakeley wrote: > > >> How do you pack Unicode codepoints into Word16? Do you use UTF-16? >> > > You don't get to find out as

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

2009-12-15 Thread Bryan O'Sullivan
On Tue, Dec 15, 2009 at 8:03 PM, Ashley Yakeley 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

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

2009-12-15 Thread Ashley Yakeley
Bryan O'Sullivan wrote: The new 0.7 release of the text package adds support for Unicode I/O, using either the new locale-aware Handle code in 6.12 or a fallback on older releases. Details: http://www.serpentine.com/blog/2009/12/15/data-text-0-7-gain