﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31344	Django raises UnicodeEncodeError when there is a cookie with a non-latin character.	Ozgur Akcali	nobody	"I know non-latin characters are not suggested to be used in cookies, but when one such cookie is sent with a request, django raises a UnicodeEncodeError. It is raised on get_bytes_from_wsgi method of wsgi.py, on the following line:

return value.encode('iso-8859-1')

Not sure how this should be handled, 'ignore' could bu supplied as the second parameter to encode method, but that would change the value of the cookie silently, and I'm not sure if that would be a desired behavior."	Bug	closed	HTTP handling	2.2	Normal	needsinfo	cookie	Florian Apolloner	Unreviewed	0	0	0	0	0	0
