diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-01 22:35:21 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-05-01 23:03:37 +0200 |
| commit | da40c014398f329b324a2eb9de062344e773dc74 (patch) | |
| tree | 2a328485efab35ad6571191343f6ff3e4ab44f17 /tests/Kstr | |
| parent | f8a8f84bf6c75e48738b0a9ee4a22fbae7bbdc87 (diff) | |
Force encoding to UTF-8 by default on Python 3
Enough people have run into exceptions due to running in the C locale
that it seems worthwhile.
Add a new 'encoding' parameter to Kconfig.__init__() that specifies the
encoding to use and make it default to "utf-8". Passing None gives the
old behavior of using the encoding specified in the environment.
Related PEP: https://www.python.org/dev/peps/pep-0538/
Diffstat (limited to 'tests/Kstr')
0 files changed, 0 insertions, 0 deletions
