php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50227 Umlauted character problems with xmlparser php 5.3 and 5.2
Submitted: 2009-11-19 10:50 UTC Modified: 2009-11-19 11:21 UTC
From: jarkko at mail dot suomenmaa dot fi Assigned:
Status: Not a bug Package: XML related
PHP Version: 5.3.0 OS: Server2003
Private report: No CVE-ID: None
 [2009-11-19 10:50 UTC] jarkko at mail dot suomenmaa dot fi
Description:
------------
Hi,
I use xmlparser for parsin rss with php5 and have problems with 
umlauted characters. For example when we have 

<title>P?ll?n?yttely</title>
in RSS after parsing it we'll get
?ll?n?yttely

<title>Valokuvan?yttely</title>
in RSS after parsing it we'll get
?yttely

It seems that all characters before first umlauted character will be 
stripped away?

Also tried same script with php 5.2.11

Same scrip works just fine on Linux with php 4.3.9.

Possibly there is something wrong with xmlparser in php 5.x.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-19 11:21 UTC] jani@php.net
There is nothing wrong with the parser, only with your encodings. 
Please ask further support questions elsewhere. No bug here.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 01:01:30 2024 UTC