tschellenbach / Django-facebook

Facebook open graph api implementation using the Django web framework in python
http://www.mellowmorning.com/
Other
1.43k stars 543 forks source link

remove str to stop UnicodeEncodeError #586

Closed rstalbow closed 7 years ago

rstalbow commented 7 years ago

I was getting an error ''ascii' codec can't encode character u'\xe9' in position 4: ordinal not in range(128)' The database contains usernames such as 'ZoëM98468' and with the str in it errors here. I have tested without the str and this function no longer errors.