PyUnicode_AsEncodedString

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

  1. PyObject* PyUnicode_AsEncodedString(PyObject* unicode, const(char)* encoding, const(char)* errors)
    version(Python_3_3_Or_Later)
    extern (C)
    PyUnicode_AsEncodedString
    (,
    const(char)* encoding
    ,
    const(char)* errors
    )
  2. alias PyUnicode_AsEncodedString = PyUnicodeUCS2_AsEncodedString
  3. alias PyUnicode_AsEncodedString = PyUnicodeUCS4_AsEncodedString

Meta