Configuring unicode in Gunicorn upstart
Gunicorn is a good tool for deploying django websites on Ubuntu (and other Linux) servers. However, servers are often not configured to support unicode by default. Some environmental variables have to be set in order to enable unicode handling. Set these environmental variables in the upstart file of your process:
env LANG="en_US.utf8" env LC_ALL="en_US.UTF-8" env LC_LANG="en_US.UTF-8"