Re: mb_detect_encoding mb_convert_encoding and rss
| From: | Moriyoshi Koizumi | Date: | Wed, 22 Jan 2003 07:42:56 +0000 |
| Subject: | Re: mb_detect_encoding mb_convert_encoding and rss | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-419@lists.php.net to get a copy of this message | ||
> I needs to use the above sort of lines
> to convert rss feeds of _all_ possible
> encodings and to one encoding: utf-8 .
>
How about passing multiple encoding names to mb_convert_encoding()?
mb_convert_encoding($str, "UTF-8", array("ISO-8859-15", "EUC-JP",
"GB2312"));
Moriyoshi