[Python-Dev] PEP 393: Flexible String Representation (original) (raw)
Florian Weimer fweimer at bfk.de
Fri Jan 28 10:35:19 CET 2011
- Previous message: [Python-Dev] PEP 393: Flexible String Representation
- Next message: [Python-Dev] PEP 393: Flexible String Representation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Stefan Behnel:
"Martin v. Löwis", 24.01.2011 21:17:
The PyUNICODE type is still supported but deprecated. It is always defined as a typedef for wchart, so the wstr representation can double as PyUNICODE representation. It's too bad this isn't initialised by default, though. PyUNICODE is the only representation that can be used efficiently from C code
Is this really true? I don't think I've seen any C API which actually uses wchar_t, beyond that what is provided by libc. UTF-8 and even UTF-16 are much, much more common.
-- Florian Weimer <fweimer at bfk.de> BFK edv-consulting GmbH http://www.bfk.de/ Kriegsstraße 100 tel: +49-721-96201-1 D-76133 Karlsruhe fax: +49-721-96201-99
- Previous message: [Python-Dev] PEP 393: Flexible String Representation
- Next message: [Python-Dev] PEP 393: Flexible String Representation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]