Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9fbe9f3

Browse filesBrowse files
committed
Use utf8 charset by default
1 parent 5912536 commit 9fbe9f3
Copy full SHA for 9fbe9f3

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎MySQLdb/connections.py

Copy file name to clipboardExpand all lines: MySQLdb/connections.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def unicode_literal(u, dummy=None):
202202
return db.string_literal(u.encode(db.encoding))
203203

204204
if not charset:
205-
charset = "latin1"
205+
charset = "utf8"
206206
self.set_character_set(charset)
207207

208208
if sql_mode:

‎metadata.cfg

Copy file name to clipboardExpand all lines: metadata.cfg
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[metadata]
2-
version: 1.4.0.2
2+
version: 1.4.0.3
33
version_info: (1,4,0,'final',0)
44
description: Python interface to MySQL
55
author: Inada Naoki

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.