comments
authorgggeek <giunta.gaetano@gmail.com>
Tue, 17 Jan 2023 13:13:07 +0000 (13:13 +0000)
committergggeek <giunta.gaetano@gmail.com>
Tue, 17 Jan 2023 13:13:07 +0000 (13:13 +0000)
tests/3EncoderTest.php

index 8c44463..507c40d 100644 (file)
@@ -100,7 +100,8 @@ class EncoderTests extends PhpXmlRpc_PolyfillTestCase
         $a = $e->decodeXml('<?xml version="1.0" encoding="US-ASCII" ?><value><string>&#8364;</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());