On Mon, Dec 11, 2006 at 10:32:20AM -0000, mezhaka wrote:
> question=%D0%9A%D0%B0%D0%B3+%D0%B4%D0%B8%D0%BB%D0%B0%2C+%D0%BA%D1%80%D0%BE%D1%81%D0%B0%D1%84%D1%87%D0%B5%D0%93%3F

This looks good, at least I have no problems with Cyrillic characters
passed to the server in that way.


> The troubled line (the one with question marks) looks like this:
> <input type="text" id="id_question" class="vTextField required"
> name="question" size="30" value="??? ?????" maxlength="200" />

Could you please od the value part, to eliminate the possibility of the
terminal - shell - catting tool chain scrambling the output?


> mysql> select * from polls_poll;
...
> |  3 | ??? ?????          | 2006-12-09 12:24:13 |
...
> the third row was inserted via admin interface and as you can see it's
> just question marks.

Could you please od this, too?


> then I tried to ran the following SQL:
> mysql> insert into polls_poll (`question`, `pub_date`) values ('Ты
> используешь Джанго?', NOW());
> 
> now it's displayed ok in the mysql client, but the admin interface
> shows a different style garbled text instead:
> Ты используешь
> Джанго?

Aha. So, what is the output of "locale" in the shell you started mysql
in? Does mysql inherit it? What is the encoding of the database you are
writing to?


With kind regards,
-- 
Baurzhan Ismagulov
http://www.kz-easy.com/

--~--~---------~--~----~------------~-------~--~----~
 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