#36777: Exception raised when accessing files with UTF-8 characters in filename
on
debian/Apache
-------------------------------+--------------------------------------
Reporter: Caram | Owner: (none)
Type: Bug | Status: closed
Component: Uncategorized | Version: 6.0
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Simon Charette):
* resolution: => invalid
* status: new => closed
Comment:
Please refer to the
[https://docs.djangoproject.com/en/6.0/howto/deployment/wsgi/modwsgi/ How
to use Django with Apache and mod_wsgi documentation] on the subject and
avoid using LLM to generate overly verbose reports.
> Fixing `UnicodeEncodeError` for file uploads
>
> If you get a UnicodeEncodeError when uploading or writing files with
file names or content that contains non-ASCII characters, **make sure
Apache is configured to support UTF-8 encoding**
Your mention of
> Apache/WSGI defaults to ASCII encoding for standard streams, unlike
runserver which uses UTF-8.
Clearly point out you didn't refer to the documentation on the subject.
--
Ticket URL: <https://code.djangoproject.com/ticket/36777#comment:1>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019aeed26bf6-c80c9bd2-4f89-41bd-b9a3-9fd8c09f1b2c-000000%40eu-central-1.amazonses.com.