eclipse-paho / eclipse-paho/paho.mqtt.python
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte
Open
Type: Enhancement
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 742
- Avg merge
- 12d 48m
- Merged PRs (30d)
- 1
Description
Hello :)
i'm facing the following problem: After connecting to iot.eclipse.org (198.41.30.241:1883) with Paho-mqtt, subscribe to all topics ("#") and printing them, the program crashes with the following error:
`File "/usr/local/lib/python3.4/dist-packages/paho/mqtt/client.py", line 377, in topic
return self._topic.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 0: invalid start byte`
The problem:
So of course, i know MQTT requires utf-8 but in case it's not, there should be a error handling on all utf-8 decodings.
Best Regards
mi3z
Contributor guide
Assessment
This issue has not been assessed yet.