Opened 8 years ago
Last modified 8 years ago
#28390 closed Bug
https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/modwsgi/ — at Initial Version
Description ¶
From https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/modwsgi/ the suggested hints within "Fixing UnicodeEncodeError for file uploads" don't overcome the issue with UnicodeEncodeError on CentOS 7.
Configuration is:
[OS]
CentOS Linux release 7.3.1611 (Core)
[Apache]
Name : httpd
Arch : x86_64
Version : 2.4.6
Release : 45.el7.centos.4
[Mod_wsgi]
Name : mod_wsgi
Arch : x86_64
Version : 3.4
Release : 12.el7_0
Setting those variables into /etc/sysconfig/httpd
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
doesn't affect the result of
import sys
sys.getdefaultencoding()
'ascii'