PyUnicodeUCS4_AsUTF16String

Returns a Python string using the UTF-16 encoding in native byte order. The string always starts with a BOM mark.

  1. PyObject* PyUnicodeUCS4_AsUTF16String(PyObject* unicode)
    version(!Python_Unicode_UCS2)
    PyUnicodeUCS4_AsUTF16String
  2. alias PyUnicode_AsUTF16String = PyUnicodeUCS4_AsUTF16String

Meta