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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 10.2, 10.3, 10.4, 10.5
    • Fix Version/s: 10.2.37
    • Component/s: Tests
    • Labels:
      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

              Assignee:
              ratzpo Rasmus Johansson (Inactive)
              Reporter:
              abychko Alexey Bychko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: