Browse Source

Ensure all is read as utf-8

Alois Mahdal 6 years ago
parent
commit
04dc26b2fc
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/python/jat.py

+ 2
- 0
src/python/jat.py View File

2
 
2
 
3
 import yaml
3
 import yaml
4
 import sys
4
 import sys
5
+reload(sys)
6
+sys.setdefaultencoding("utf-8")
5
 
7
 
6
 
8
 
7
 class ParsingError(ValueError):
9
 class ParsingError(ValueError):