#31344: Django raises UnicodeEncodeError when there is a cookie with a non-latin character. -------------------------------+-------------------------------------- Reporter: Ozgur Akcali | Owner: nobody Type: Bug | Status: closed Component: HTTP handling | Version: 2.2 Severity: Normal | Resolution: needsinfo Keywords: cookie | Triage Stage: Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------+-------------------------------------- Changes (by felixxm):
* cc: Florian Apolloner (added) * status: new => closed * resolution: => needsinfo Comment: Non-ASCII values in the WSGI environ are arbitrarily decoded with ISO-8859-1, that's why Django uses this encoding (see also [https://www.python.org/dev/peps/pep-0333/ PEP 333]). You shouldn't get a value in other encodings. Please feel-free to reopen this ticket if you can provide a sample project to reproduce yours issue. -- Ticket URL: <https://code.djangoproject.com/ticket/31344#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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/069.b7a8999db91ec2942c78b5e0b6760911%40djangoproject.com.