Commit 384eb026 authored by Médéric Boquien's avatar Médéric Boquien

Specify that encoding for pcigale.ini. Otherwise if a non-ASCII character is...

Specify that encoding for pcigale.ini. Otherwise if a non-ASCII character is used it may work or crash depending on the computer. Now we encode everything in UTF-8, which will allow again to use these chracters in the description of the modules parameters.
parent a1ad56d0
......@@ -104,7 +104,8 @@ class Configuration(object):
"""
self.config = configobj.ConfigObj(filename,
write_empty_values=True,
indent_type=' ')
indent_type=' ',
encoding='UTF8')
def create_blank_conf(self):
"""Create the initial configuration file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment