From:             [EMAIL PROTECTED]
Operating system: redhat7.3
PHP version:      4.3.0-pre2
PHP Bug Type:     ICONV related
Bug description:  function is error for chinese 

<?php
echo iconv ("GB2312","UTF-7","δΈ­")
?>
result :  +Ti0AA 

I wish the result is +Ti0 or +Ti0- 

<?php
echo iconv("UTF-7","GB2312","+Ti0-");
?>

result: NULL
I wish the result is chinese GB2312 word! 

in shell , the command  
" iconv -f UTF-7 -t GB2312 filename " and " iconv -f GB2312 -t UTF-7
filename " are correct! I belive it is bug ,please fix it .


-- 
Edit bug report at http://bugs.php.net/?id=20277&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20277&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20277&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20277&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20277&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20277&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20277&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20277&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20277&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20277&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20277&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20277&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20277&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20277&r=isapi

Reply via email to