Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-24732

CP1252 is not Latin-1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Incomplete
    • 10.1, 10.3, 10.5
    • N/A
    • Character Sets
    • 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

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serk Marc Prat Masó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.