Bug #17456: iconv cutted off the string
| From: | kostya at aitart dot ru | Date: | Mon, 27 May 2002 14:38:12 +0000 |
| Subject: | Bug #17456: iconv cutted off the string | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8666@lists.php.net to get a copy of this message | ||
From: kostya@aitart.ru
Operating system: Freebsd 4.1.1
PHP version: 4.2.1
PHP Bug Type: ICONV related
Bug description: iconv cutted off the string
I have string $foo its value of the 100 Russian chars in the windows-1251
coding.
print iconv( "windows-1251", "utf-8", $foo );
I see only 66 Russian chars instead of 100.( UTF-8 User agent code page )
if I change string value to 200 Russian chars in windows-1251 and print
out
I see 116 chars instead of 200
I think that iconv do not increase output buffer data.
--
Edit bug report at http://bugs.php.net/?id=17456&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17456&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17456&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17456&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17456&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17456&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17456&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17456&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17456&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17456&r=globals