#28390: https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/modwsgi/
------------------------------------------------+------------------------
               Reporter:  francbartoli          |          Owner:  nobody
                   Type:  Bug                   |         Status:  new
              Component:  File uploads/storage  |        Version:  1.8
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 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'

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28390>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.9b4f717dad31bc7baae3168f16e1e3c3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to