PHP :: Bug #29711 :: libxml and non iso-8859-1
| Bug #29711 | libxml and non iso-8859-1 | ||||
|---|---|---|---|---|---|
| Submitted: | 2004-08-16 20:32 UTC | Modified: | 2004-08-19 14:38 UTC | ||
| From: | momo@php.net | Assigned: | |||
| Status: | Closed | Package: | XML related | ||
| PHP Version: | 5.0.1 | OS: | ALL | ||
| Private report: | No | CVE-ID: | None | ||
[2004-08-16 20:32 UTC] momo@php.net
Description: ------------ here fuul details: http://www.phpil.net/php5xml.php Reproduce code: --------------- <? error_reporting(E_ALL); $xml = '<?xml version="1.0" encoding="WINDOWS-1255"?><x>????</x>'; $p = xml_parser_create(); xml_parser_set_option($p, XML_OPTION_CASE_FOLDING, 0); xml_set_element_handler($p, 'start_elem', 'end_elem'); xml_set_character_data_handler($p, 'cdata'); xml_parse($p,$xml, true); xml_parser_free($p); function start_elem($parser, $tagname, $attributes){} function end_elem($parser, $tagname){} function cdata($parser,$data) { echo $data; } ?> Expected result: ---------------- ???? Actual result: -------------- ????
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2004-08-17 08:06 UTC] derick@php.net
[2004-08-17 08:13 UTC] momo@php.net
[2004-08-17 08:15 UTC] momo@php.net
[2004-08-17 08:19 UTC] chregu@php.net
[2004-08-17 08:28 UTC] derick@php.net
[2004-08-17 08:51 UTC] chregu@php.net
[2004-08-17 08:58 UTC] derick@php.net
[2004-08-17 09:15 UTC] momo@php.net
[2004-08-18 10:09 UTC] rasmus@php.net
[2004-08-18 10:15 UTC] derick@php.net
[2004-08-19 14:38 UTC] chregu@php.net