﻿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
21458	Encoding error on /jsi18n/?language=ü	Sergey Sorokin <40inss@…>	nobody	"When I pass utf-8 symbols in url /jsi18n/?language=ü, I get error:

{{{
UnicodeEncodeError at /jsi18n/
'ascii' codec can't encode character u'\xfc' in position 0: ordinal not in range(128)
}}}

There is the similar error (django 1.6, django/utils/translation/trans_real.py, line 357), when I try to pass encoded symbols: /jsi18n/?language=%00%27:
{{{
TypeError at /jsi18n/
must be encoded string without NULL bytes, not unicode
}}}

It's better to catch this exception and do not throw HTTP 500 error."	Bug	closed	Internationalization	dev	Normal	fixed	UnicodeEncodeError, i18n, jsi18n	Baptiste Mispelon	Ready for checkin	1	0	0	0	0	0
