> 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
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
