php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17693 iconv superadd some random garbage char
Submitted: 2002-06-11 04:03 UTC Modified: 2002-09-26 20:08 UTC
From: dynein at fasterweb dot net Assigned:
Status: No Feedback Package: ICONV related
PHP Version: 4.2.1 OS: linux glibc2.2.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dynein at fasterweb dot net
New email:
PHP Version: OS:

 

 [2002-06-11 04:03 UTC] dynein at fasterweb dot net
$result=iconv("gbk","utf-8",$string);
The length of string is 348. 
On a win2k box with IIS 5.0 and php 4.2.1,the result is right,the length of result is 441.
On a redhat 7.1 linux box ,glibc 2.2.4,php 4.2.1,the length of result is 473,and the return string = the right string + some random garbage char. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-11 19:40 UTC] iliaa@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-09-26 20:08 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 11:01:30 2024 UTC