From 6a6cc80a5e2a1c73ec825a28440faeb2994e607b Mon Sep 17 00:00:00 2001 From: gggeek <giunta.gaetano@gmail.com> Date: Tue, 17 Jan 2023 13:13:07 +0000 Subject: [PATCH] comments --- tests/3EncoderTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/3EncoderTest.php b/tests/3EncoderTest.php index 8c44463a..507c40d8 100644 --- a/tests/3EncoderTest.php +++ b/tests/3EncoderTest.php @@ -100,7 +100,8 @@ class EncoderTests extends PhpXmlRpc_PolyfillTestCase $a = $e->decodeXml('<?xml version="1.0" encoding="US-ASCII" ?><value><string>€</string></value>'); $this->assertEquals($string, $a->scalarVal()); - /// @todo it seems that old php versions can not + /// @todo it seems that old php versions can not automatically transform latin to utf8 upon xml parsing. + /// We should fix that, then re-enable this test if (version_compare(PHP_VERSION, '5.6.0', '>=')) { $i = $e->decodeXml('<?xml version="1.0" encoding="ISO-8859-15" ?><value><string>' . $string . '</string></value>'); $this->assertEquals($string, $i->scalarVal()); -- 2.47.0