]> git.openstreetmap.org Git - nominatim.git/commit
always state encoding when opening files in text mode
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 10 May 2022 13:36:29 +0000 (15:36 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 10 May 2022 13:36:29 +0000 (15:36 +0200)
commit7e70e5f50310b7bdf79e39b4a5a4964f9a6d051b
treec3105a8670d3864059af3460f5f4c647c0f9f810
parentadeebec32a5e75318eb8714a38087055e3b2e757
always state encoding when opening files in text mode

Also applies to Path.write_text().
nominatim/config.py
nominatim/tokenizer/icu_tokenizer.py
nominatim/tokenizer/legacy_tokenizer.py