Skip to content

Commit

Permalink
Fixed #3754 -- Re-introduced utf-8 as default encoding for interactio…
Browse files Browse the repository at this point in the history
…n with

MySQL backend (a side-effect of [4724]). Thanks Andy Dustman and Michael
Radziej.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
malcolmt committed Mar 20, 2007
1 parent 9fb4018 commit 1f9711f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions django/db/backends/mysql/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ def cursor(self):
if not self._valid_connection():
kwargs = {
'conv': django_conversions,
'charset': 'utf8',
'use_unicode': False,
}
if settings.DATABASE_USER:
kwargs['user'] = settings.DATABASE_USER
Expand Down

0 comments on commit 1f9711f

Please sign in to comment.