is PyUnicode_Decode a part of public api

sndive at sndive at
Tue Nov 6 02:44:01 CET 2007

am i allowed to use PyUnicode_Decode or PyUnicode_DecodeUTF8 in my
or that is not advisable?

QString s("foo");
// QString::unicode returns garbage unusable for PyUnicode_FromUnicode
            PyObject *uo =
                PyUnicode_Decode(s.utf8(), s.length(), "utf8", 0);

More information about the Python-list mailing list