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 <[email protected]>
Sent: 12-04-2013 17:29
To: [email protected]
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 [email protected].
To post to this group, send email to [email protected].
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 [email protected].
To post to this group, send email to [email protected].
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