8937: Unable to produce graph reports [in Greek locale]

This commit is contained in:
Josip 2015-09-21 18:58:14 -07:00 committed by Paul Franklin
parent 55733cb264
commit 6f66a021bb

View File

@ -1968,7 +1968,7 @@ class DbBsddbRead(DbReadBase, Callback):
"""
filepath = os.path.join(self.path, "name.txt")
try:
name_file = open(filepath, "r")
name_file = open(filepath, "r", encoding='utf-8')
name = name_file.readline().strip()
name_file.close()
except (OSError, IOError) as msg: