User has a unicode character in his username. This results, and hippybot crashes:
ERROR: 'ascii' codec can't encode character u'\xae' in position 34: ordinal not in range(128)
Traceback (most recent call last):
File "/home/michael/work/hippybot/python/lib/python2.7/site-packages/hippybot-1.2.4-py2.7.egg/hippybot/bot.py", line 291, in run
bot.serve_forever()
File "/home/michael/work/hippybot/python/src/jabberbot/jabberbot.py", line 823, in serve_forever
conn.Process(1)
File "build/bdist.linux-x86_64/egg/xmpp/dispatcher.py", line 303, in dispatch
handler['func'](session,stanza)
File "/home/michael/work/hippybot/python/lib/python2.7/site-packages/hippybot-1.2.4-py2.7.egg/hippybot/bot.py", line 156, in callback_message
ret = cmd(mess)
File "/home/michael/work/hippybot/python/lib/python2.7/site-packages/hippybot-1.2.4-py2.7.egg/hippybot/plugins/plusplusbot.py", line 32, in change_score
room = str(mess.getFrom()).split("/")[0]
UnicodeEncodeError: 'ascii' codec can't encode character u'\xae' in position 34: ordinal not in range(128)
User has a unicode character in his username. This results, and hippybot crashes: