misc: always load site-options as utf-8 (#43490)
This commit is contained in:
parent
d11423ea8e
commit
5b6d096623
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue