Enhance compatibility

With Anaconda3-4.4.0-Windows-x86_64 in Win 8 & 10, encoding name "utf8" will lead to error.  We change the encoding name to "utf-8", it's OK. Very strange, we do not know why.
This commit is contained in:
Jiye Qian 2017-08-03 23:34:55 +08:00 committed by GitHub
parent e86472a592
commit 67de46730f

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf8 -*- # -*- coding: utf-8 -*-
import codecs import codecs
import os.path import os.path
import re import re