note 83228 added to function.mb-convert-encoding
| From: | nospam at nihonbunka dot com | Date: | Fri, 16 May 2008 01:51:34 +0000 |
| Subject: | note 83228 added to function.mb-convert-encoding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-139429@lists.php.net to get a copy of this message | ||
rodrigo at bb2 dot co dot jp wrote that inconv works better than mb_convert_encoding, I find that
when converting from uft8 to shift_jis
$conv_str = mb_convert_encoding($str,$toCS,$fromCS);
works while
$conv_str = iconv($fromCS,$toCS.'//IGNORE',$str);
removes tildes from $str.
----
Server IP: 203.88.112.146
Probable Submitter: 218.223.193.144
----
Manual Page -- http://www.php.net/manual/en/function.mb-convert-encoding.php
Edit -- https://master.php.net/note/edit/83228
Del: integrated -- https://master.php.net/note/delete/83228/integrated
Del: useless -- https://master.php.net/note/delete/83228/useless
Del: bad code -- https://master.php.net/note/delete/83228/bad+code
Del: spam -- https://master.php.net/note/delete/83228/spam
Del: non-english -- https://master.php.net/note/delete/83228/non-english
Del: in docs -- https://master.php.net/note/delete/83228/in+docs
Del: other reasons-- https://master.php.net/note/delete/83228
Reject -- https://master.php.net/note/reject/83228
Search -- https://master.php.net/manage/user-notes.php