php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30269 encoding (special chars)
Submitted: 2004-09-29 01:17 UTC Modified: 2004-09-29 14:50 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: biroy at hotmail dot com Assigned:
Status: Not a bug Package: SimpleXML related
PHP Version: 5.0.1 OS: Windows XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: biroy at hotmail dot com
New email:
PHP Version: OS:

 

 [2004-09-29 01:17 UTC] biroy at hotmail dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-29 02:30 UTC] biroy at hotmail dot com
I used utf8_decode() and it works now good.

Sorry.
 [2004-09-29 14:50 UTC] derick@php.net
bogus... 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC