Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: 10.1, 10.3, 10.5
-
Fix Version/s: N/A
-
Component/s: Character Sets
-
Labels:
-
Environment: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