We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 3312052 commit 3f50e83Copy full SHA for 3f50e83
python/plugins/processing/algs/help/__init__.py
@@ -24,6 +24,7 @@
24
__revision__ = '$Format:%H$'
25
26
import os
27
+import codecs
28
import yaml
29
from qgis.core import Qgis, QgsWkbTypes
30
from qgis.PyQt.QtCore import QSettings, QLocale
@@ -35,7 +36,7 @@ def loadShortHelp():
35
36
for f in os.listdir(path):
37
if f.endswith("yaml"):
38
filename = os.path.join(path, f)
- with open(filename) as stream:
39
+ with codecs.open(filename, encoding='utf-8') as stream:
40
h.update(yaml.load(stream))
41
version = ".".join(Qgis.QGIS_VERSION.split(".")[0:2])
42
overrideLocale = QSettings().value('locale/overrideFlag', False, bool)
0 commit comments