Commit 52fafcaa authored by catch's avatar catch
Browse files

Issue #3499596 by alexpott: run-tests.sh cannot handle unicode in PHPUnit output

parent 886ee4e3
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1251,7 +1251,7 @@ function simpletest_script_reporter_write_xml_results(TestRunResultsStorageInter
        }
        $test_class = $result->test_class;
        if (!isset($xml_files[$test_class])) {
          $doc = new DomDocument('1.0');
          $doc = new DomDocument('1.0', 'utf-8');
          $root = $doc->createElement('testsuite');
          $root = $doc->appendChild($root);
          $xml_files[$test_class] = ['doc' => $doc, 'suite' => $root];