Ticket #3754: mysql-bug-3754.diff

File mysql-bug-3754.diff, 529 bytes (added by Andy Dustman <farcepest@…>, 18 years ago)

Set default character set of utf8

  • django/db/backends/mysql/base.py

     
    8080        if not self._valid_connection():
    8181            kwargs = {
    8282                'conv': django_conversions,
     83                'charset': 'utf8',
     84                'use_unicode': False,
    8385            }
    8486            if settings.DATABASE_USER:
    8587                kwargs['user'] = settings.DATABASE_USER
Back to Top