VirtualMailManager/config.py
branchv0.7.x
changeset 658 ad967c4b7fe5
parent 650 429ba58bc302
child 670 f374ef062c94
--- a/VirtualMailManager/config.py	Sun Dec 02 14:54:24 2012 +0000
+++ b/VirtualMailManager/config.py	Sun Dec 02 15:51:17 2012 +0000
@@ -358,7 +358,7 @@
         Raises a ConfigError if the configuration syntax is
         invalid.
         """
-        with open(self._cfg_filename, 'r') as self._cfg_file:
+        with open(self._cfg_filename, 'r', encoding='utf-8') as self._cfg_file:
             try:
                 self.readfp(self._cfg_file)
             except (MissingSectionHeaderError, ParsingError) as err: