ID:               33074
 Updated by:       [EMAIL PROTECTED]
 Reported By:      servisoft_mail at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *XML functions
 Operating System: RedHat Enterprise Linux 3.0
 PHP Version:      5.0.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

The output is UTF-8 by default. You have to convert that to ISO-8859-1
(from UTF-8), if you want ISO output.

See also the docs for xml_parser_create about character encoding


Previous Comments:
------------------------------------------------------------------------

[2005-05-20 04:13:44] servisoft_mail at yahoo dot com

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);



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33074&edit=1

Reply via email to