X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d33c82cb66a5d7edf7202e7e4ede8e2496011580..7e70e5f50310b7bdf79e39b4a5a4964f9a6d051b:/nominatim/tokenizer/legacy_tokenizer.py diff --git a/nominatim/tokenizer/legacy_tokenizer.py b/nominatim/tokenizer/legacy_tokenizer.py index 3b8f7569..97ce6d16 100644 --- a/nominatim/tokenizer/legacy_tokenizer.py +++ b/nominatim/tokenizer/legacy_tokenizer.py @@ -255,7 +255,7 @@ class LegacyTokenizer(AbstractTokenizer): @define('CONST_Max_Word_Frequency', {0.MAX_WORD_FREQUENCY}); @define('CONST_Term_Normalization_Rules', "{0.TERM_NORMALIZATION}"); require_once('{0.lib_dir.php}/tokenizer/legacy_tokenizer.php'); - """.format(config))) + """.format(config)), encoding='utf-8') def _init_db_tables(self, config):