Bug #70596 | ProgrammingError: Character set 'utf8mb4' unsupported. | ||
---|---|---|---|
Submitted: | 10 Oct 2013 19:01 | Modified: | 18 Dec 2013 17:40 |
Reporter: | Florian Nierhaus | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / Python | Severity: | S3 (Non-critical) |
Version: | 1.0.10 | OS: | Any |
Assigned to: | Geert Vanderkelen | CPU Architecture: | Any |
Tags: | utf8mb4 utf8 |
[10 Oct 2013 19:01]
Florian Nierhaus
[17 Oct 2013 22:24]
Florian Nierhaus
forgot two lines: --- a/python2/mysql/connector/constants.py +++ b/python2/mysql/connector/constants.py @@ -506,8 +506,8 @@ class CharacterSet(_constants): ("latin7","latin7_general_cs",False), # 42 ("macce","macce_bin",False), # 43 ("cp1250","cp1250_croatian_ci",False), # 44 - None, - None, + ("utf8mb4", "utf8mb4_general_ci", True), #45 + ("utf8mb4", "utf8mb4_bin", False), #46 ("latin1","latin1_bin",False), # 47 ("latin1","latin1_general_ci",False), # 48 ("latin1","latin1_general_cs",False), # 49
[18 Dec 2013 17:40]
Paul DuBois
Noted in 1.1.5 changelog. utf8mb4 was not recognized as a valid character set.