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)
  2. alias PyUnicode_AsEncodedUnicode = PyUnicodeUCS2_AsEncodedUnicode
  3. alias PyUnicode_AsEncodedUnicode = PyUnicodeUCS4_AsEncodedUnicode
    version(!Python_3_3_Or_Later && !Python_Unicode_UCS2 && Python_3_0_Or_Later)
    extern (C)
    alias PyUnicode_AsEncodedUnicode = PyUnicodeUCS4_AsEncodedUnicode

Meta