IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.6k stars 490 forks source link

error parsing ASCII #321

Open eljaelee96 opened 5 years ago

eljaelee96 commented 5 years ago

having error (i believe) when parsing emoji - will get ASCII error

fix :

add following code in btle.py after imports

reload(sys) sys.setdefaultencoding('utf-8')