well at last the problem is solved.

i was up to dig into the od'ing everything on my way, but decided to try to
mess with MySQL and it helped.

1.
at first i did what Georgi Stanojevski suggested:

To get mysql client in the console working with utf-8 (doesn't have
anything to do with Django) I have this in /etc/my.cnf:

[client]
.
.
default-character-set = utf8

[mysqld]
.
.
character-set-server=utf8
collation-server=utf8_unicode_ci
init_connect='set collation_connection = utf8_unicode_ci;'


2.
then i restarted the mysql server with (i use ubuntu):
$ sudo /etc/init.d/mysql restart

3.
from mysql client
mysql> alter table polls_choice convert to character set utf8;
mysql> alter table polls_poll convert to character set utf8;

and finally the input of cyrillic in the admin area started to work!

the interesting fact is that in the same time running the SELECT statement
from mysql client yields:
mysql> select * from polls_choice;
+----+---------+-------------+-------+
| id | poll_id | choice      | votes |
+----+---------+-------------+-------+
|  1 |       1 | ??? ?????   |     0 |
|  2 |       1 | ????? ????? |     0 |
+----+---------+-------------+-------+

to output of question marks, which i suppose displays, that the client
doesn't handle utf8.

I want to thank all the people, who tried to help me. I will try my best to
be helpful as well
:)

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to