PyUnicodeUCS4_SetDefaultEncoding

Sets the currently active default encoding.

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

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

Meta