aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-08-31 00:14:37 +0000
committerrowanbeentje <rowan@beent.je>2012-08-31 00:14:37 +0000
commit38699644d8a2ae961f91e3b41c81f184a46295b8 (patch)
tree5d3949e7840e53ebd9c71b1e8cfab352f9f66e45 /Frameworks/SPMySQLFramework/Source
parent776a299e57ea18e7c30d8747db32436bbae932ef (diff)
downloadsequelpro-38699644d8a2ae961f91e3b41c81f184a46295b8.tar.gz
sequelpro-38699644d8a2ae961f91e3b41c81f184a46295b8.tar.bz2
sequelpro-38699644d8a2ae961f91e3b41c81f184a46295b8.zip
- Fix utf8mb4 handling within SPMySQLFramework; this addresses Issue #1312
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Encoding.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Encoding.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Encoding.m
index d11c75b2..f2b5fc48 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Encoding.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Encoding.m
@@ -265,7 +265,7 @@
} else if (!strcmp(mysqlCharset, "latin7")) {
return CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingISOLatin7);
} else if (!strcmp(mysqlCharset, "utf8mb4")) {
- return NSUnicodeStringEncoding; // Is this correct?
+ return NSUTF8StringEncoding;
} else if (!strcmp(mysqlCharset, "cp1251")) {
return NSWindowsCP1251StringEncoding;
} else if (!strcmp(mysqlCharset, "utf16")) {