Philipp Hörist pushed to branch master at gajim / gajim

Commits:
f47ea05b by Philipp Hörist at 2018-02-10T18:59:34+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/f47ea05b79ce30e27b8962cd7296a73b082d39e8

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

Reply via email to