Add note about encoding on Windows

This commit is contained in:
Linus 2022-04-27 12:07:48 +02:00 committed by GitHub
parent da72863b47
commit 9e95c5d3fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,8 @@ Boolean values can be `yes` or `no`. For more details and some examples on the
format, see the [configparser documentation][1] ([interpolation][2] is format, see the [configparser documentation][1] ([interpolation][2] is
disabled). disabled).
Note: On Windows the config file must be encoded using the Windows 1252 charset (aka. ANSI) in order to preserve german umlauts.
[1]: <https://docs.python.org/3/library/configparser.html#supported-ini-file-structure> "Supported INI File Structure" [1]: <https://docs.python.org/3/library/configparser.html#supported-ini-file-structure> "Supported INI File Structure"
[2]: <https://docs.python.org/3/library/configparser.html#interpolation-of-values> "Interpolation of values" [2]: <https://docs.python.org/3/library/configparser.html#interpolation-of-values> "Interpolation of values"