|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-05-20 08:33 UTC] chregu@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 16:00:01 2025 UTC |
Description: ------------ by Cristian / Leonardo We are using a XML function and there are a problem with special caracter in Portuguese Brazilian language. When i use the function: xml_set_character_data_handler($xml_parser, $cdata); the retrieved data is truncated, ex: normal(PHP/4.3.11) - "S?tio" (PHP/5.0.4) - "çtio" we did tried convert to UTF-8 and ISO formats, linux language and a lot of things but there is no way. the only problem fix was reinstaling PHP/4.3.11 Reproduce code: --------------- $xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, $start, $end); xml_set_character_data_handler($xml_parser, $cdata);