toastdriven/django-tastypie — pull request #834 by nikmolnar (2013-02-22 23:34:40+00:00)
Title: Add test for #327

MySQLdb returns unicode strings from a column with utf8_bin collation as bytestrings. This causes a `UnicodeDecodeError` when the string is passed to `unicode()`. The problem presents in tastypie when converting `field.CharField` values. This test covers that case by creating a bytestring with unicode characters and passing it to `CharField.convert()`.

This relates to issue #327 and pull request #768