Decoding accented characters causes a UnicodeDecodeError:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/dist-packages/gsmmodem/serial_comms.py", line 103, in _readLoop
line = rxBuffer[:-readTermLen].decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 33: invalid continuation byte
...
Should add the Western European encoding 'iso-8859-1' to correctly decode bytes, like so: line = rxBuffer[:-readTermLen].decode()
Decoding accented characters causes a UnicodeDecodeError:
Should add the Western European encoding 'iso-8859-1' to correctly decode bytes, like so:
line = rxBuffer[:-readTermLen].decode()