Philipp Hörist pushed to branch gajim_1.0 at gajim / gajim

Commits:
172e7af4 by Philipp Hörist at 2018-02-12T18:52:18+01:00
Read config files with UTF-8

- - - - -


1 changed file:

- gajim/common/optparser.py


Changes:

=====================================
gajim/common/optparser.py
=====================================
--- a/gajim/common/optparser.py
+++ b/gajim/common/optparser.py
@@ -48,7 +48,7 @@ class OptionsParser:
 
     def read(self):
         try:
-            fd = open(self.__filename)
+            fd = open(self.__filename, encoding='utf-8')
         except Exception:
             if os.path.exists(self.__filename):
                 #we talk about a file



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/172e7af4a5fefee68cbf8c5a1c1314618d3950ce

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/172e7af4a5fefee68cbf8c5a1c1314618d3950ce
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to