﻿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
22399	loaddata doesn't work correctly when importing utf-8 encoded files	bacilla	nobody	"Environment: Windows 7, Python 3.3, Django 1.6.2, PyYAML 3.11

When initializing DB with a yaml fixture that contains russian characters, like this:

{{{
- model: testapp.City
  fields:
    name: Санкт-Петербург
}}}

or unicode escaped sequences, like this:

{{{
- model: testapp.City
  fields:
    name: ""\u040c\u00ae\u045e\u00ae\u0431\u0401\u040e\u0401\u0430\u0431\u0404""
}}}

in a 'name' column appears garbage.

It seems that this happens because a fixture file doesn't properly opened in utf-8 encoding, line 122 of the source file 'django/core/management/commands/loaddata.py' (missing parameter 'encoding=""utf-8""').

Python discussions there:
https://mail.python.org/pipermail/python-ideas/2013-June/021230.html
"	Bug	closed	Core (Management commands)	1.6	Normal	fixed	loaddata utf-8 python3		Accepted	0	0	0	0	0	0
