ID: 11164
Updated by: mfischer
Reported By: negativ@linuxnews.pl
Old Status: Open
Status: Bogus
Bug Type: DOM XML related
Operating System: Linux
PHP Version: 4.0.5
New Comment:
To me this looks rather a proble with the characters or your systems locale or your libxml2 but not
with PHP.
libxml2 uses its own calls to iconv() and there is little PHP can do about this.
Bogus (not a PHP bug).
Previous Comments:
------------------------------------------------------------------------
[2001-05-29 04:07:07] negativ@linuxnews.pl
$doc = xmldoc('<?xml version="1.0"
encoding="iso-8859-2"?><p/>');
$r = $doc->root();
$r->new_child("test","zó³w");
echo $doc->dumpmem();
modules: domxml, iconv
php: 4.0.5 (cgi)
output:
output conversion failed due to conv error
Bytes: 0xF3 0xB3 0x77 0x3C
xmlOutputBufferWrite: encoder error
X-Powered-By: PHP/4.0.5
Content-type: text/plain
<?xml version="1.0" encoding="iso-8859-2"?>
<p><test>zOK
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11164&edit=1