Use UTF8 Encoding with Django-Nginx-Gunicorn

February 24, 2018 734 views
Django Nginx

Hi;

I try to feed a blog I just created but since two days I have the following error when I try to add post via the Admin site:

Exception Type:
UnicodeEncodeError
Exception Value:
'ascii' codec can't encode character u'\xe8' in position 6: ordinal not in range(128)

When I am in the development server I don't have this problem, and based on what I can see on the web this is some kind of config on gunicorn or nginx. I'm not confortable on thqt so if someone could drive me it would be verry appreciated.

Thanks a lot!

Be the first one to answer this question.