note 55396 added to ref.iconv
| From: | php-general at lists dot php dot net | Date: | Tue, 02 Aug 2005 09:56:33 +0000 |
| Subject: | note 55396 added to ref.iconv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92938@lists.php.net to get a copy of this message | ||
echo $test=iconv('gb2312','gb2312',"Subject: ");
echo iconv_mime_decode($test,0,"ISO-8859-1");
i wonder why i cant get the whole subject like "Subject: ";
i found if the subject content is Chinese (combined with 2 bytes code),the subject content will be
lost!
the Chinese language uses GB2312!!
----
Manual Page -- http://www.php.net/manual/en/ref.iconv.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55396
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55396&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55396&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55396&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55396&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55396&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55396&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55396&report=yes
Search -- http://master.php.net/manage/user-notes.php