Dec. 29, 2012
3:03 p.m.
Hi, On Thu, Dec 27, 2012 at 2:33 PM, Elefterios Stamatogiannakis <estama@gmail.com> wrote:
Also linux's 32 bit wchars are unfortunate in our case, because SQLite only supports UTF-8 and UTF-16 in their API. So there is no way on linux to directly pass pypy's unicode strings to SQLite.
Yes, given that pypy strings use UTF-32 on Linux, they are not compatible. Note that CPython normally also uses UTF-32 on Linux (at least in most major distributions), but that can be configured at compile-time. Leonardo: UTF-32 and UCS-4 are the same thing; the difference is only UCS-2 which is a subset of UTF-16. A bientôt, Armin.