Mercurial > hgrepos > Python > libs > ConfigMix
annotate tests/data/conf1.py @ 120:ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Added unittests for proper Unicode handling.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Thu, 29 Mar 2018 12:38:52 +0200 |
| parents | a0ed95975980 |
| children | 7e6ec99d5ff5 |
| rev | line source |
|---|---|
| 93 | 1 # -*- coding: utf-8 -*- |
| 2 | |
| 3 key1 = u"the value" | |
| 4 key2 = 2 | |
| 5 key3 = 5.7 | |
| 6 key4 = True | |
| 7 key5 = False | |
| 95 | 8 key6 = 0o377 |
|
120
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
95
diff
changeset
|
9 key7 = u"Umlaute: ÄÖÜäöüß" |
