PyUnicodeUCS2_AsEncodedObject

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

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

Meta