Bug #17693: iconv superadd some random garbage char
| From: | dynein at fasterweb dot net | Date: | Tue, 11 Jun 2002 08:03:50 +0000 |
| Subject: | Bug #17693: iconv superadd some random garbage char | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-10074@lists.php.net to get a copy of this message | ||
From: dynein@fasterweb.net
Operating system: linux glibc2.2.4
PHP version: 4.2.1
PHP Bug Type: ICONV related
Bug description: iconv superadd some random garbage char
$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 bug report at http://bugs.php.net/?id=17693&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17693&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17693&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17693&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17693&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17693&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17693&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17693&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17693&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17693&r=globals