﻿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
16052	MySQL: CharField's with utf8_bin collation return as str, should return as unicode.	Graham King	Graham King	"On MySQL, a !CharField with default collation comes out as unicode, but with utf8_bin it comes out as str.

Adding this line into the conversion dictionary (in django/db/backends/mysql/base.py) fixes it:

{{{
 FIELD_TYPE.VAR_STRING: [(None, force_unicode)],

}}}

Patch includes two tests in regressiontests/backends/. The full test suite passes with this patch applied.
"	Bug	closed	Database layer (models, ORM)	dev	Normal	wontfix	mysql utf_bin unicode		Design decision needed	1	0	0	0	0	0
