--- 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: