PyUnicode_Decode

Create a Unicode object by decoding the encoded string s of the given size.

  1. PyObject* PyUnicode_Decode(const(char)* s, Py_ssize_t size, const(char)* encoding, const(char)* errors)
  2. alias PyUnicode_Decode = PyUnicodeUCS2_Decode
    version(!Python_3_3_Or_Later && Python_Unicode_UCS2)
    extern (C)
    alias PyUnicode_Decode = PyUnicodeUCS2_Decode
  3. alias PyUnicode_Decode = PyUnicodeUCS4_Decode

Meta