src/eric7/MicroPython/MicroPythonReplWidget.py

branch
mpy_network
changeset 10012
d649d500a9a1
parent 10011
26a7d607b8f6
child 10030
512d8ecbfdab
--- a/src/eric7/MicroPython/MicroPythonReplWidget.py	Thu May 04 11:22:11 2023 +0200
+++ b/src/eric7/MicroPython/MicroPythonReplWidget.py	Thu May 04 11:47:21 2023 +0200
@@ -559,7 +559,7 @@
                     # 'set window title' command detected: <Esc>]0;...<Esc>\
                     # __IGNORE_WARNING_M891__
                     titleData = data[index + 4 :].split(b"\x1b\\")[0]
-                    title = titleData.decode()
+                    title = titleData.decode("utf-8")
                     index += len(titleData) + 5  # one more is done at the end
                     self.osdInfo.emit(title)
                 else:

eric ide

mercurial