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

JSON_UNQUOTE doesn't work with emojis

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.6.20, 11.4.4
    • 10.5, 10.6, 11.4
    • JSON
    • None

    Description

      JSON_UNQUOTE returns "?" when it's called with an emoji
      For example, "😊" is encoded as "\\ud83d
      ude0a"
      :

      SELECT JSON_UNQUOTE('"\\ud83d\\ude0a"');
      ?
      

      I believe this is a bug? JSON_UNQUOTE should return the emoji, not a question mark.

      Attachments

        Issue Links

          Activity

            People

              rucha174 Rucha Deodhar
              csirmazbendeguz Bendeguz Csirmaz
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.