diff --git a/plugins/exec/PyStand.cpp b/plugins/exec/PyStand.cpp index ad84e2ec..c3c62c73 100644 --- a/plugins/exec/PyStand.cpp +++ b/plugins/exec/PyStand.cpp @@ -269,7 +269,7 @@ const auto init_script = #ifndef PYSTAND_CONSOLE L"try:\n" L" fd = os.open('CONOUT$', os.O_RDWR | os.O_BINARY)\n" - L" fp = os.fdopen(fd, 'w', encoding='utf8')\n" + L" fp = os.fdopen(fd, 'w')\n" L" sys.stdout = fp\n" L" sys.stderr = fp\n" L" attached = True\n"