MySQL 5.5.35 Django 1.6.1
In order to support emoticons in the DB, I have configured in my django settings:
\'OPTIONS\': {\'charset\': \'utf8mb4\'}
https://code.djangoproject.com/ticket/18392#comment:10
As a workaround, you can make python understand 'utf8mb4' as an alias for 'utf8': import codecs codecs.register(lambda name: codecs.lookup('utf8') if name == 'utf8mb4' else None)
As a workaround, you can make python understand 'utf8mb4' as an alias for 'utf8':
import codecs codecs.register(lambda name: codecs.lookup('utf8') if name == 'utf8mb4' else None)