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

JSON_ARRAY utf8mb4 encoding error

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.5.5
    • None
    • JSON
    • None
    • Probably any OS

    Description

      If an utf8mb4 character, like an emoticon is proceed by a bit field, in a JSON_ARRAY, it gets corrupted.

      online test: https://dbfiddle.uk/?rdbms=mariadb_10.5&fiddle=6f6adfdab90cbb3760b6538fceea38f8

      Attachments

        1. encoding tests.png
          95 kB
          Marcelo Titonelli Pio da Cruz
        2. utferror.sql
          2 kB
          Marcelo Titonelli Pio da Cruz

        Issue Links

          Activity

            People

              Unassigned Unassigned
              MarcT Marcelo Titonelli Pio da Cruz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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