Hi, On Mon, Feb 18, 2013 at 12:37 PM, Eleytherios Stamatogiannakis <est...@gmail.com> wrote: > An API like the one you propose would be very nice, and IMHO would give a > substantial speedup.
https://bitbucket.org/cffi/cffi/issue/57/shortcuts-to-encode-decode-between-unicode > May i suggest, that for generality purposes, the same API functions should > also be added for UTF-16, UTF-32 ? Well, I'll rather wait for someone to clearly shows the purpose of that. As I said in the above issue, modern programs tend to use UTF-8 systematically, unless they are on an OS with a precise notion of wider unicodes (like Windows), in which case Python's own unicode representation matches already and can be used directly in "wchar_t*". A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev