From: biroy at hotmail dot com
Operating system: Windows XP
PHP version: 5.0.1
PHP Bug Type: SimpleXML related
Bug description: encoding (special chars)
Description:
------------
(when you read a field with specials chars like spanish or catalan '�' it
returns 'á')
I saw similar bugs reported and others say tey are bogus... I think it's a
problem anyway and I hope it will be repaired.
Reproduce code:
---------------
<?php
$fitxer = "http://www.codigoescrito.com/index.rdf";
$xml = simplexml_load_file($fitxer);
foreach ($xml->item as $item) {
echo $item->title, '<br />';
}
?>
Expected result:
----------------
Mozilla Firefox RC 1.0
Primer d�a en ESIDE
Nueva m�quina y l�o con Don Pc (1/2)
Inseguridad en redes WI-FI
Promoci�n de ADSL boca a boca
Colores arm�nicos en sitios web
Nuevo navegador Maxthon
Un paso m�s a la inseguridad
La preproducci�n del software
TypingMaster Pro
Apple Mini IPod de 4GB
El error descubierto
La Cueva de los Cl�sicos
Bordes redondeados y punto para Mozilla
Linux en la F�rmula 1
Actual result:
--------------
Mozilla Firefox RC 1.0
Primer día en ESIDE
Nueva máquina y lío con Don Pc (1/2)
Inseguridad en redes WI-FI
Promoción de ADSL boca a boca
Colores armónicos en sitios web
Nuevo navegador Maxthon
Un paso más a la inseguridad
La preproducción del software
TypingMaster Pro
Apple Mini IPod de 4GB
El error descubierto
La Cueva de los Clásicos
Bordes redondeados y punto para Mozilla
Linux en la Fórmula 1
--
Edit bug report at http://bugs.php.net/?id=30269&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30269&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30269&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30269&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30269&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30269&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30269&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30269&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30269&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30269&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30269&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30269&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30269&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30269&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30269&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30269&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30269&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30269&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30269&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30269&r=mysqlcfg