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)
  2. alias PyUnicode_FromString = PyUnicodeUCS2_FromString
  3. alias PyUnicode_FromString = PyUnicodeUCS4_FromString
    version(!Python_3_3_Or_Later && !Python_Unicode_UCS2 && Python_2_6_Or_Later)
    extern (C)
    alias PyUnicode_FromString = PyUnicodeUCS4_FromString

Meta