Utf8 is default support in django unless you are explicitly typecasting
to str. Please provide details of traceback and code snippets to debug this.


Sent from my Windows Phone
 ------------------------------
From: sastry mln <sastry...@gmail.com>
Sent: 12-04-2013 17:29
To: django-users@googlegroups.com
Subject: Unable to storing unicode data using django

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

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

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