From 31f3f69d3c8f61b77c41ccc1d6cc7f16c74346cb Mon Sep 17 00:00:00 2001 From: juanmpd <45386331+juanmpd@users.noreply.github.com> Date: Tue, 27 Nov 2018 13:33:15 +0100 Subject: [PATCH] Update Grass7Utils.py --- python/plugins/processing/algs/grass7/Grass7Utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/plugins/processing/algs/grass7/Grass7Utils.py b/python/plugins/processing/algs/grass7/Grass7Utils.py index f89fdac2ada..e12b0c41b3f 100644 --- a/python/plugins/processing/algs/grass7/Grass7Utils.py +++ b/python/plugins/processing/algs/grass7/Grass7Utils.py @@ -413,6 +413,7 @@ class Grass7Utils: stderr=subprocess.STDOUT, universal_newlines=True, env=grassenv, + encoding="cp{}".format(Grass7Utils.getWindowsCodePage()) if isWindows() else None, startupinfo=si if isWindows() else None ) as proc: for line in iter(proc.stdout.readline, ''):