I struggled with this once, although not through Django. I tried a lot of things, and I couldn't get MySQL to properly store emojis, or japanese/chinese characters for example.
As my project was just starting, I switched to postgresql, and it just worked. I did nothing fancy to get it to work and I have succesfully stored all kind of characters.
I'm also interested in the right solution for MySQL, but if you don't want to spend a lot of time or anything else, you might want to try with postgresql.
Best regards
On Wednesday, January 23, 2013 10:07:07 PM UTC+1, Chen Xu wrote:
--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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/XMNArBaFugEJ.
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.
No comments:
Post a Comment