Searched refs:unicode_text (Results 1 – 2 of 2) sorted by relevance
1669 PyObject *unicode_text = PyUnicode_DecodeUTF8(text, len, "replace"); in dec_utf8() local1670 if (unicode_text) { in dec_utf8()1671 ret = PyUnicode_AsEncodedString(unicode_text, enc, "replace"); in dec_utf8()1672 Py_DECREF(unicode_text); in dec_utf8()
1698 PyObject *unicode_text = PyUnicode_DecodeUTF8(text, len, "replace"); in dec_utf8() local1699 if (unicode_text) { in dec_utf8()1700 ret = PyUnicode_AsEncodedString(unicode_text, enc, "replace"); in dec_utf8()1701 Py_DECREF(unicode_text); in dec_utf8()