get_system_encoding
The encoding for the character type functions. Fallback to 'ascii' if the #encoding is unsupported by Python or could not be determined. See tickets #10335 and #5846.
def get_system_encoding() - > string
The encoding for the character type functions. Fallback to 'ascii' if the encoding is unsupported by Python or could not be determined. See tickets #10335 and #5846.
Returns
| Type | Description |
|---|---|
string | The system's preferred character encoding name, or 'ascii' as a safe fallback if the detected encoding is invalid or unavailable. |