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
 [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

Pull Requests

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: Wed Dec 04 07:01:31 2024 UTC