PyUnicodeUCS2_FromString

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

version(!Python_3_3_Or_Later && Python_Unicode_UCS2 && Python_2_6_Or_Later)
extern (C)
PyUnicodeUCS2_FromString
(
const(char)* u
)

Meta