On Fri, Apr 12, 2013 at 6:38 AM, sastry mln <sastry...@gmail.com> wrote:
> Hi All,
>   I have a mysqldb with utf8 charset and utf8_general_ci collation. The
> tables are also explicity defined to use the same charset/collation
>   I have a django model with CharField.
>   I want to store unicode characters (hindi language chars)
>   when i tested the model form django admin shell, I got error saying that
> the character is unrecognised.
>
>   I read the unicode section of the documenation, but i did not understand
> clearly.
>
>   can someone please post a snippet about how to let the web application
> allow unicode data entry using  (A) from django shell (b) From the data
> entry screen created through the modelAdmin forms
>
> regards
> mln
>

Can you show an example of both cases please - error traceback from
admin page when you get this error, and traceback (and code) from
doing it in the shell.

Unicode usually just works, particularly from the admin. Tracebacks
will probably show why it failed in this case.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to