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.
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.