PyUnicodeUCS2_SetDefaultEncoding

Sets the currently active default encoding.

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

  1. int PyUnicodeUCS2_SetDefaultEncoding(const(char)* encoding)
    version(Python_Unicode_UCS2)
    int
    PyUnicodeUCS2_SetDefaultEncoding
    (
    const(char)* encoding
    )
  2. alias PyUnicode_SetDefaultEncoding = PyUnicodeUCS2_SetDefaultEncoding

Meta