DerMitch / fritzbox-smarthome

Client library for querying and controling AVM SmartHome Actors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UniCode utf8 problem

hpd96 opened this issue · comments

commented

Hallo,

if the smarthome device "Fritz Dect 200" is named "Stromzähler-1" there will be an error:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 187: ordinal not in range(128)

clearance: rename "Stromzähler-1" to "Stroemzaehler"

Danke fürs tool, gruß hp

Ich kann das Problem mit Python 3.5.2 nicht reproduzieren. Falls dies wieder auftritt, wäre ein Stacktrace sehr hilfreich um herauszufinden wo das Problem genau auftritt.