misc: always load site-options as utf-8 (#43490)

This commit is contained in:
Frédéric Péters 2020-06-01 09:09:18 +02:00
parent d11423ea8e
commit 5b6d096623
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ class QommonPublisher(Publisher, object):
if not os.path.exists(site_options_filename):
return
try:
self.site_options.read(site_options_filename)
self.site_options.read(site_options_filename, encoding='utf-8')
except:
self.get_app_logger().error('failed to read site options file')
return