Opened 17 years ago
Closed 17 years ago
#6874 closed (worksforme)
error 404 and unicode chars in template
Reported by: | tas | Owned by: | nobody |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Keywords: | unicode, utf-8, 404 | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
When custom template 404.html have UTF-8 chars inside, django throws Unhandled Exception.
Note:
See TracTickets
for help on using tickets.
I inserted:
(utf8 encoded) into my 404.html template and it displays fine, no exception. Does your 404.html file's encoding match your settings.py FILE_CHARSET? More information is needed to figure out what is causing this for you, such as Django revision you are using, encoding of your file, pertinent settings from settings.py, and the traceback from the exception.