--- a/eric7/MicroPython/MicroPythonWidget.py Tue Feb 08 16:22:59 2022 +0100 +++ b/eric7/MicroPython/MicroPythonWidget.py Sat Feb 12 13:02:35 2022 +0100 @@ -789,7 +789,8 @@ data[index + 1] == 91): # VT100 cursor command detected: <Esc>[ index += 2 # move index to after the [ - match = self.__vt100Re.search(data[index:].decode("utf-8")) + match = self.__vt100Re.search( + data[index:].decode("utf-8", errors="replace")) if match: # move to last position in control sequence # ++ will be done at end of loop