PyUnicodeUCS2_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)* PyUnicodeUCS2_GetDefaultEncoding()
    version(Python_Unicode_UCS2)
    const(char)*
    PyUnicodeUCS2_GetDefaultEncoding
    (
    )
  2. alias PyUnicode_GetDefaultEncoding = PyUnicodeUCS2_GetDefaultEncoding

Meta