Skip to content
Snippets Groups Projects
Commit 8bc7475d authored by catch's avatar catch
Browse files

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

parent e5a67b91
No related branches found
No related tags found
No related merge requests found
......@@ -1263,7 +1263,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];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment