#29711 [Opn->Fbk]: libxml and non iso-8859-1

From: Date: Tue, 17 Aug 2004 06:06:09 +0000
Subject: #29711 [Opn->Fbk]: libxml and non iso-8859-1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-64753@lists.php.net to get a copy of this message
ID: 29711 Updated by: derick@php.net Reported By: momo@php.net -Status: Open +Status: Feedback Bug Type: XML related Operating System: ALL PHP Version: 5.0.1 New Comment: Please fill in the details on this bug system and noy exculsive link to an external site. Previous Comments: ------------------------------------------------------------------------ [2004-08-16 20:32:49] 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: -------------- ???? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29711&edit=1

« previous php.bugs (#64753) next »