PyUnicode_GetDefaultEncoding

Returns the currently active default encoding.

The default encoding is currently implemented as run-time settable process global. This may change in future versions of the interpreter to become a parameter which is managed on a per-thread basis.

  1. const(char)* PyUnicode_GetDefaultEncoding()
  2. alias PyUnicode_GetDefaultEncoding = PyUnicodeUCS2_GetDefaultEncoding
  3. alias PyUnicode_GetDefaultEncoding = PyUnicodeUCS4_GetDefaultEncoding
    version(!Python_3_3_Or_Later && !Python_Unicode_UCS2)
    extern (C)
    alias PyUnicode_GetDefaultEncoding = PyUnicodeUCS4_GetDefaultEncoding

Meta