Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #3754 -- Re-introduced utf-8 as default encoding for interactio…

…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...
commit 1f9711ffb02f89da445251366d3827f39b05da11 1 parent 9fb4018
Malcolm Tredinnick authored March 20, 2007

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  django/db/backends/mysql/base.py
2  django/db/backends/mysql/base.py
@@ -80,6 +80,8 @@ def cursor(self):
80 80
         if not self._valid_connection():
81 81
             kwargs = {
82 82
                 'conv': django_conversions,
  83
+                'charset': 'utf8',
  84
+                'use_unicode': False,
83 85
             }
84 86
             if settings.DATABASE_USER:
85 87
                 kwargs['user'] = settings.DATABASE_USER

0 notes on commit 1f9711f

Please sign in to comment.
Something went wrong with that request. Please try again.