NightRang3r / Broadlink-e-control-db-dump

These two scripts will "parse" the broadlink e-Control Android application database or SharedData and dump the IR / RF codes for selected accessories into a text file which can be later used with broadlink-python to send the codes to the RM PRO hub
149 stars 52 forks source link

Python 2.7.18 Error #38

Closed mercenaruss closed 1 year ago

mercenaruss commented 3 years ago

Using Python 2.7.18 and getting an error:

ID: 11 | Name: Traceback (most recent call last): File "getBroadlinkSharedData.py", line 43, in print "ID:", jsonSubIrData[i]['id'], "| Name:", jsonSubIrData[i]['name'] File "C:\Python27\lib\encodings\cp437.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-6: character maps to

Tried and more yearly versions of Python 2.7 , but unsuccessful.