I have already tried everything suggested at uWSGI / Emperor: UnicodeEncodeError: 'ascii' codec can't encode character but nothing worked.
here is my ini file
[uwsgi]
# -------------
# Settings:
# key = value
# Comments >> #
# -------------
env LANG=en_US.utf8
env LC_ALL=en_US.UTF-8
env LC_LANG=en_US.UTF-8
env = PYTHONIOENCODING=UTF-8
# socket = [addr:port]
http = 127.0.0.1:8000
# WSGI module and callable
# module = [wsgi_module_name]:[application_callable_name]
module = church.wsgi
# master = [master process (true of false)]
master = true
static-map = /static=/home/....church/static
# processes = [number of processes]
processes = 5
..
Basically I have a simple django app fetching stocks names with unicode characters like öé etc. the Django development server works find and return no error. In production it returns
" 'ascii' codec can't encode character '\xe9' in position 7: ordinal not in range(128)"
so parsing fails and date is not added to the db.