[php-src] PR #12026: Update DOM test to work around libxml2 bug
| From: | nielsdos | Date: | Tue, 22 Aug 2023 20:48:19 +0000 |
| Subject: | [php-src] PR #12026: Update DOM test to work around libxml2 bug | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23446@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12026
Author: nielsdos
As reported in GH-12024, the test fails in the encoding part of the test file. This is due to a
libxml2 bug (that's been fixed in modern versions, but of course various systems and distros
are always behind). The goal of this part of the test is to check if an encoding declaration is
outputted. So the actual encoding used doesn't matter. Switch to UTF-8, which seems to always
work, to work around the issue.