From f47ea05b79ce30e27b8962cd7296a73b082d39e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 10 Feb 2018 18:59:34 +0100 Subject: [PATCH] Read config files with UTF-8 --- gajim/common/optparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/common/optparser.py b/gajim/common/optparser.py index 179e30756..d300d61c5 100644 --- 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