PyUnicodeUCS2_FromString

Similar to PyUnicode_FromUnicode(), but u points to null-terminated Latin-1 encoded bytes */ /// Availability: >= 2.

  1. PyObject* PyUnicodeUCS2_FromString(const(char)* u)
    version(Python_2_6_Or_Later)
    PyUnicodeUCS2_FromString
    (
    const(char)* u
    )
  2. alias PyUnicode_FromString = PyUnicodeUCS2_FromString

Meta