PyUnicode_AsEncodedObject

Encodes a Unicode object and returns the result as Python object.

  1. PyObject* PyUnicode_AsEncodedObject(PyObject* unicode, const(char)* encoding, const(char)* errors)
    version(Python_3_3_Or_Later)
    PyUnicode_AsEncodedObject
    (
    ,
    const(char)* encoding
    ,
    const(char)* errors
    )
  2. alias PyUnicode_AsEncodedObject = PyUnicodeUCS2_AsEncodedObject
  3. alias PyUnicode_AsEncodedObject = PyUnicodeUCS4_AsEncodedObject

Meta