PyUnicode_FromString

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

  1. PyObject* PyUnicode_FromString(const(char)* u)
    version(Python_3_3_Or_Later && Python_2_6_Or_Later)
    extern (C)
    PyUnicode_FromString
    (
    const(char)* u
    )
  2. alias PyUnicode_FromString = PyUnicodeUCS2_FromString
  3. alias PyUnicode_FromString = PyUnicodeUCS4_FromString

Meta