Set default encoding to UTF-8

This commit is contained in:
Cédric Krier committed 2008-07-26 14:11:51 +02:00
1 parent 22e109f45b
commit 1a24bf8d53
1 file changed
+2
+2
View File
@@ -485,6 +485,8 @@ class Report(object):
encoding = 'UTF-8'
if encoding == 'cp1252':
encoding = '1252'
if not encoding:
encoding = 'UTF-8'
try:
if os.name == 'nt':
language = _LOCALE2WIN32.get(language, language)