-2
It’s neither issue of Django nor Mysql, it’s a Windows issue. Unfortunately it supports unicode not the best way.
I started playing with Django 0.9 at year 2004 on Windows XP. From time to time I was getting strange bugs. Later I moved to Cygwin and some of them disappeared, but some remained. Problem is in encodings mechanism built in Windows. Only move to Linux and then Mac helped me to avoid such “Geizenbugs”.
So you are quite right:
When I start my script on Mac or Linux, it works fine, but on Windows, I get [error].
Best option – switch to Mac or Linux. If you do not want to move completely to *nix, you may use you Windows environment and put Django and Mysql to virtual env like Vagrant or Docker.
I’ve tested you emojis on my pet project.
Here’s django admin interface:
And here’s telegram bot:
All is OK.
I use:
- heroku hosting (linux)
- PostgreSQL (but it doesn’t depend on DB)
- Python 3.5.2
- all works in UTF-8 encoding.