PyUnicode_AsEncodedUnicode

Encodes a Unicode object and returns the result as Unicode Availability: >= 3.* object.

  1. PyObject* PyUnicode_AsEncodedUnicode(PyObject* unicode, const(char)* encoding, const(char)* errors)
    version(Python_3_3_Or_Later && Python_3_0_Or_Later)
    extern (C)
    PyUnicode_AsEncodedUnicode
    (,
    const(char)* encoding
    ,
    const(char)* errors
    )
  2. alias PyUnicode_AsEncodedUnicode = PyUnicodeUCS2_AsEncodedUnicode
  3. alias PyUnicode_AsEncodedUnicode = PyUnicodeUCS4_AsEncodedUnicode

Meta