[pypy-dev] CFFI speed results
Armin Rigo
arigo at tunes.org
Sat Dec 29 16:03:14 CET 2012
Hi,
On Thu, Dec 27, 2012 at 2:33 PM, Elefterios Stamatogiannakis
<estama at 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.
More information about the pypy-dev
mailing list