PyUnicodeUCS2_SetDefaultEncoding

Sets the currently active default encoding.

Returns 0 on success, -1 in case of an error.

version(!Python_3_3_Or_Later && Python_Unicode_UCS2)
extern (C)
int
PyUnicodeUCS2_SetDefaultEncoding
(
const(char)* encoding
)

Meta