Ticket #3370: mysql-utf.patch

File mysql-utf.patch, 532 bytes (added by anton@…, 18 years ago)

patch that fixes the issue (not well tested)

  • db/backends/mysql/base.py

     
    8989                'db': settings.DATABASE_NAME,
    9090                'passwd': settings.DATABASE_PASSWORD,
    9191                'conv': django_conversions,
     92                'charset': 'utf8',
    9293            }
    9394            if settings.DATABASE_HOST.startswith('/'):
    9495                kwargs['unix_socket'] = settings.DATABASE_HOST
Back to Top