tgalal/python-axolotl

'ascii' codec can't encode character

rigid opened this issue · 5 comments

rigid commented

i'm not sure if this really is an axolotl problem, but with yowsup and axolotl 0.1.34 (installed via pip) I get lots of these:
WARNING yowsup.layers.axolotl.layer: 'ascii' codec can't encode character u'\xf6' in position 1: ordinal not in range(128)
Is there some "encode('utf-8')" missing somewhere?

I identify the problem with ' (apostrophe) and èéòàùì letters... I removed them from return message and it send it without that warning, I know this is not the solution, I'm looking better one.

which python version are you using? I'm using python2.7 and I haven't troubles by now with encodings.

rigid commented

@jlguardi

# python -V
Python 2.7.10

here

# python -V
Python 2.7.3

on raspberry, but I can use 3.5 too

# python3.5 -V
Python 3.5.0
rigid commented

i'm pretty sure that this is a yowsup issue. closing for now.