PyUnicodeUCS2_AsEncodedString

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

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

Meta