PyUnicodeUCS2_FromStringAndSize

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

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

Meta