ICONV: more robust translation
Status: Beta
Brought to you by:
kellan
Hi,
Some feeds gets truncated by iconv due to illegal
characters in the feed (e.g.
http://news.bbc.co.uk/rss/chinese/simp/in_depth/americ
as/2005/bush_inauguration/rss091.xml)
Adding //TRANSLIT//IGNORE to the iconv output
encoding makes it more robust.
$encoded_source = iconv($in_enc,'UTF-
8//TRANSLIT//IGNORE', $source);
Best regards
The Artvark