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

Failed to read test report file: Invalid byte 2 of 3-byte UTF-8 sequence.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.2, 10.3, 10.4, 10.5
    • 10.2.37
    • Tests
    • None

    Description

      xml test reports are not valid sometimes if contain unicode sequences.

      abychko@Alexeys-Mini ~ % xmllint Downloads/mtr-normal.xml
      Downloads/mtr-normal.xml:2749: parser error : Input is not proper UTF-8, indicate encoding !
      Bytes: 0xE5 0x73 0x27 0x29
      -slave-bin.000001	#	Annotate_rows	1	#	INSERT INTO t5(b) VALUES ('g�s')
      

      we widely use xml reports from MTR, so we need to fix unicode output everywhere.

      original line from xml:

      -slave-bin.000001	#	Annotate_rows	1	#	INSERT INTO t5(b) VALUES ('gås')
      

      Attachments

        Issue Links

          Activity

            People

              ratzpo Rasmus Johansson (Inactive)
              abychko Alexey Bychko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.