marcuz / libpynexmo

Python library to interact with Nexmo SMS API
BSD 2-Clause "Simplified" License
63 stars 34 forks source link

Allow unicode type values #15

Closed matmas closed 10 years ago

matmas commented 10 years ago

Fix issue with passing unicode values.

>>> unicode(u"À", "utf-8").encode("utf-8")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: decoding Unicode is not supported