in mysql config:
[mysqld]
default-character-set = cp1251
default-collation = cp1251_ukrainian_ci
init-connect="SET NAMES cp1251"

for your database:
create database dbase charset=utf8;

and ...
in file django/db/backends/mysql/base.py
we have:

if self.connection.get_server_info() >= '4.1':
  cursor.execute("SET NAMES utf8")

this is a bug. but not fixed. utf8 replace with your encoding page


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to