diff --git a/treebank_parser/conllu/parser.py b/treebank_parser/conllu/parser.py index 26a1ac1..83a4cd5 100644 --- a/treebank_parser/conllu/parser.py +++ b/treebank_parser/conllu/parser.py @@ -204,7 +204,7 @@ def parse(self): """ linenumber = 1 - with open(self._input_file, 'r') as f: + with open(self._input_file, 'r', encoding = "utf-8") as f: tbp_logging.info(f"Input file {self._input_file} has been opened correctly.") begin = time.perf_counter()