﻿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
8102	get_or_create is unable to handle unicode characters	Dave Naffziger	Malcolm Tredinnick	"Models.py:
{{{
#!python
class Article(models.Model):
    headline = models.CharField(max_length=100)

Shell session:
>>> from mysite.models import Article
>>> string = u'\xae'
>>> a = Article.objects.get_or_create(headline = string)
>>> a
(<Article: Article object>, True)
>>> a = Article.objects.get_or_create(headline = string)
>>> a
(<Article: Article object>, True)
}}}

This seems to be recently introduced (I'm on 8125) and only noticed the bug after a recent update.

This is a pretty major bug and I ran out of time tonight to dig into it, but I wanted to at raise the issue now so that others can look at it.  

This is going to create serious backwards incompatibility issues in people's databases if they are running with this bug. "		closed	Database layer (models, ORM)	dev		fixed			Accepted	0	0	0	1	0	0
