Thanks for reply, I was suspecting this and I did change my database charset to UTF-8. but still it giving me same error.
Reagarding to database or server default charset, is there any setting i need to specify in setting file or any where else? Regards, On Sep 29, 2:51 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Tue, Sep 29, 2009 at 7:45 AM, Rizwan Mansuri > <br.riz...@googlemail.com>wrote: > > > Hello everyone, > > > I am newbie in django. I have installed plugin in tinymce to type indian > > language in textarea. While I was trying to save flat page with indian > > language string its giving me error > > *OperationalError at /admin/flatpages/flatpage/1/* > > " > > > Any suggestion and help would be appericiates. > > > Traceback :http://dpaste.com/99784/ > > From the traceback: > > Exception Value: (1366, "Incorrect string value: > '\\xE0\\xAA\\xA4\\xE0\\xAA\\xB8...' for column 'content' at row 1") > > This is MySQL for "you've asked me to store data that cannot be encoded in > the destination column's character set". For example, trying to store > Chinese in a latin1-encoded table -- there's just no mapping for Chinese in > latin1 so it cannot be done. > > I suspect your table is encoded in latin1 here, since that is the MySQL > default, and limited to latin characters so unable to represent characters > from non-latin languages. Switching it to utf-8 will fix the problem. The > command (from a mysql prompt) is something like: > > ALTER TABLE table_name CONVERT TO CHARACTER SET UTF8 > > You may also want to change the database or server default to utf-8. > > 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 -~----------~----~----~----~------~----~------~--~---