﻿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
1528	[patch] MySQL 4.1 charset support	anton@…	Adrian Holovaty	"Django forces to use unicode (utf8) when MySQL 4.1 and higher is used as a db backend which is not correct in some cases. For example one creates an application using national encoding (ie windows-1251) for templating etc but Django forces him to use unicode for all db objects.

This patch adds a new parameter to settings.py file named DATABASE_CHARSET which is ""utf8"" by default for backwards compatibility. This parameter will be applied to initial query ""SET NAMES %s"" when MySQL 4.1 or higher is used as DB backend.


--
Best regards
Anton Khalikov"	enhancement	closed	Database layer (models, ORM)	dev	normal	duplicate	mysql 4.1 encoding unicode	me@…	Unreviewed	1	0	0	0	0	0
