Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Incomplete
-
10.1(EOL), 10.3(EOL), 10.5
-
Ubuntu 20.04, python3.7 with Mariadb10.3 or/and mariadb:10.1 (docker)
Description
In MySQL Latin-1 is an alias to cp1252. Meanwhile the standard (e.g. python) Latin-1 is ISO-8859-1.
The problem gets bigger when accents and apostrophe occurs and you use a stick decode (default method in python mysql library).
Here is a detailed explanation: https://www.i18nqa.com/debug/table-iso8859-1-vs-windows-1252.html
Solution: add ISO-8859-1 charset and maybe change the documentation to avoid confusion.
Thanks
This is a duplicated issue from mysql: https://bugs.mysql.com/bug.php?id=101556