Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The issue is that the encoding set in your server python process is unable to encode a specific unicode string.

Details can be found here

To solve this, set the following locale related environment variables to be used in your python server process:


For example uwsgi takes the following (in the .ini file):

env = LC_ALL='en_US.UTF-8' #I find this sufficient