2009/5/20 Oleg Oltar <oltarase...@gmail.com>

> [snip]Strange when I am adding an article with russian text or Section
> with russian name, everything is OK
> But when I a trying to add a new category via admin, and use name of it in
> russian I am getting this exception:
>
> Warning at /admin/articleManager/categoty/add/
>
> Incorrect string value: '\xD0\xB2\xD0\xB2\xD0\xB2' for column 'name' at row 1
>
>
This means that the character set for your category table (or at least the
name column within it) is set to something (probably the default latin1)
that has no representation for the Unicode value specified.  To confirm,
take a look at the output of 'show create table' for your category table in
a mysql shell.  You then need to alter the table so that its character set
is utf-8.  See:

http://dev.mysql.com/doc/refman/5.0/en/alter-table.html

You want to use the "convert to character set" option.

Karen

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to