Report this

What is the reason for this report?

Use UTF8 Encoding with Django-Nginx-Gunicorn

Posted on February 24, 2018

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!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.