﻿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
4698	ChoiceField unicode problem	canburak@…	Adrian Holovaty	"when I use a string or unicode object with non-ascii characters, I got the following error

UnicodeEncodeError at /user/new/
'ascii' codec can't encode character u'\u0131' in position 2: ordinal not in range(128)
Exception Location:  	/usr/lib/python2.4/site-packages/django/newforms/fields.py in clean, line 430


when i change
valid_values = set([str(k) for k, v in self.choices])
to 
valid_values = set([k for k, v in self.choices])

it works for me.  I'm sure this breaks things so I think the first action is a bug.  ChoiceList should validate non-ascii chars."		closed	Forms	dev		wontfix	unicode		Unreviewed	0	0	0	0	0	0
