uWSGI Gateway: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 #431
-
Hello everybody. Jan 03 11:50:56 hpc-controller uwsgi[41967]: Traceback (most recent call last): Any suggestions on "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 5774: ordinal not in range(128)"? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @gianlucagiacometti, I think this can be due to the default locale in your container. You may have to install additional locales in your container (see https://stackoverflow.com/a/59292909 for instance) and change default locale to something like |
Beta Was this translation helpful? Give feedback.
Hello @gianlucagiacometti, I think this can be due to the default locale in your container. You may have to install additional locales in your container (see https://stackoverflow.com/a/59292909 for instance) and change default locale to something like
en_US.UTF-8
or forcePYTHONIOENCODING="UTF-8"
for uwsgi service.