|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29302 Stripping of strings in front of the last umlauts
Submitted: 2004-07-21 15:33 UTC Modified: 2004-07-21 23:01 UTC
From: revolutio at gmx dot de Assigned:
Status: Not a bug Package: *XML functions
PHP Version: 5.0.0 OS: SuSE Linux 9.1 (with Apache2)
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: revolutio at gmx dot de
New email:
PHP Version: OS:


 [2004-07-21 15:33 UTC] revolutio at gmx dot de
In php5 it strips the string befor the umlauts. This script is working in php4 best. (You only see the bug, if an umlauts is in the heise news feed)

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-mysql=/usr/local/mysql --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-freetype-dir=/usr/lib

Reproduce code:

Expected result:
I want to see the complete title of the news feed.

Actual result:
It stripts the string in front of the last umlauts. (Like ?/?/?)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-21 20:18 UTC]
text can be split into multiple chunks depending upon buffer size, characters encountered, etc.. which means the parser can fire off multiple events. you need to concat the text until its finished. your exmple is assuming all text returned at once so you are only using the data from the last event.
 [2004-07-21 22:14 UTC] revolutio at gmx dot de
Thx for the help. It works now with your describtion.
 [2004-07-21 23:01 UTC]
still not a bug -> bogus
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Oct 02 20:01:25 2023 UTC