Bug #16721 Updated: Accentuation Support

From: Date: Thu, 16 May 2002 14:41:56 +0000
Subject: Bug #16721 Updated: Accentuation Support
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-7844@lists.php.net to get a copy of this message
ID: 16721 Updated by: chregu@php.net Reported By: brunorothgiesser@yahoo.com.br -Status: Open +Status: Closed Bug Type: DOM XML related Operating System: SUSE Linux PHP Version: 4.1.2 New Comment: The funny characters are most certainly utf8 accented characters. you can convert them back to iso-8859-1 with utf8_decode() Previous Comments: ------------------------------------------------------------------------ [2002-04-21 11:56:03] brunorothgiesser@yahoo.com.br Correcting my bug´s description, the encoding that I used was ISO-8859-1 This is the recommended encoding for documents in Portuguese. Any other encoding makes xmldoc() return NULL when there are accents in the doc. With 'ISO-8859-1' document is parsed but accents become strange characters. ------------------------------------------------------------------------ [2002-04-21 11:49:37] brunorothgiesser@yahoo.com.br Accentuation support is not (correctly) implemented in DOM XML functions. I have used encoding=´ISO-8891-1´ in my XML docs with text in Portuguese. Document was parsed with xmldoc(), but accents appeared as strange characters. Removing the encoding=´ISO-8891-1´ part, xmldoc() returns NULL. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16721&edit=1

« previous php.bugs (#7844) next »