FIXED Wrong encoding in multiprocessing output
@@ -810,6 +810,11 @@ class SubprocessProxy(BackendProxy):
creationflags = subprocess.CREATE_NEW_PROCESS_GROUP
debug("Starting the backend: %s %s", cmd_line, get_workbench().get_local_cwd())
+
+ extra_params = {}
+ if sys.version_info > (3, 5):
+ extra_params["encoding"] = "utf-8"
+
self._proc = subprocess.Popen(
cmd_line,
bufsize=0,
@@ -820,6 +825,7 @@ class SubprocessProxy(BackendProxy):
env=env,
universal_newlines=True,
creationflags=creationflags,
+ **extra_params
)
# setup asynchronous output listeners
