Wednesday, January 23, 2013

How to make django's mysql connections to use utf8mb4 ?

I saved some Emoji icons to MySQL Database,the icons have been saved correctly. Since I can see them from MySQL Shell when I type 'select message_text from messages'

However, when I do Message.object.get(ph=5).message_text, it shows me a bunch question marks.

Could someone please help?

Thanks

--
⚡ Chen Xu

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate