PyUnicodeUCS2_AsEncodedString

Encodes a Unicode object and returns the result as Python string object.

version(!Python_3_3_Or_Later && Python_Unicode_UCS2)
extern (C)
PyUnicodeUCS2_AsEncodedString
(,
const(char)* encoding
,
const(char)* errors
)

Meta