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

2013-02-20 Thread Love
well, emo is emo. its not an excuse, I know.. being emotional is ok. I had a pritty tuff day like you guys, I don't know who to hug. I need an expression, any sugestions? ;D 2013 m. sausio 23 d., trečiadienis 21:07:07 UTC, Chen Xu rašė: > > I saved some Emoji icons to MySQL Database,the icons

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

2013-02-19 Thread Chris Streeter
There is some discussion on this ticket: https://code.djangoproject.com/ticket/18392 The ticket also requires that a new version of MySQLdb be running to properly recognize the type. - Chris On Mon, Feb 18, 2013 at 4:22 PM, Peter of the Norse wrote: > Triple check

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

2013-02-18 Thread Peter of the Norse
Triple check your encoding type on the database and table. MySQL is often stupid about encoding, and when Django tries to do the right thing, it fails. I once converted a MySQL database from PHP to Django, and ran into a similar problem. Everything on the old database was marked Latin1, but

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

2013-01-23 Thread Adrián Espinosa
Hello, 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

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

2013-01-23 Thread Chen Xu
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