PyUnicodeUCS2_AsUTF16String

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

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

Meta