[Python-Dev] PyArg_ParseTuple and unicode (original) (raw)
Jack Jansen jack@oratrix.nl
Tue, 27 Nov 2001 13:04:39 +0100
- Previous message: [Python-Dev] Interesting paper on exception handling in C
- Next message: [Python-Dev] PyArg_ParseTuple and unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I had expected the PyArg_ParseTuple() "u" specifier to automatically convert string objects to unicode strings with the default encoding (just as the reverse is true for "s"), but to my surprise it doesn't.
Is there a deep reason for this, or am I the first person to want this functionality? Or do I miss something and should I use a different format specifier?
Jack Jansen | ++++ stop the execution of Mumia Abu-Jamal ++++ Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++ www.cwi.nl/~jack | ++++ see http://www.xs4all.nl/~tank/ ++++
- Previous message: [Python-Dev] Interesting paper on exception handling in C
- Next message: [Python-Dev] PyArg_ParseTuple and unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]