#17693 [Opn->Fbk]: iconv superadd some random garbage char

From: Date: Thu, 12 Sep 2002 00:40:47 +0000
Subject: #17693 [Opn->Fbk]: iconv superadd some random garbage char
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19193@lists.php.net to get a copy of this message
ID: 17693 Updated by: iliaa@php.net Reported By: dynein@fasterweb.net -Status: Open +Status: Feedback Bug Type: ICONV related Operating System: linux glibc2.2.4 PHP Version: 4.2.1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2002-06-11 04:03:50] dynein@fasterweb.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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17693&edit=1

« previous php.bugs (#19193) next »