In Xoops, modules/headlines/blocks/headlines.php , right around: $synd = new RSStoHTML($headlinesurl, $cache_dir, $cache_file, $cache_time, $max_items); $block['content'] .= "<b>".$synd->getTitle()."</b><br />"; $block['content'] .= $synd->getHtml();
(I think) mb_convert_encoding and mb_detect_encoding are being inserted more or less as follows: $str = mb_convert_encoding($str,"encoding1","encoding2"); and mb_detect_order("encoding1,encoding2"); $ary[] = "encoding1"; $ary[] = "encoding2"; mb_detect_order($ary); I needs to use the above sort of lines to convert rss feeds of _all_ possible encodings and to one encoding: utf-8 . I am doing this in postnuke, however, and don't know where to insert this code. I suspect it would be /includes/pnAPI.php and/or /includes/blocks/rss.php I have some notes and code related to this up at: http://www.issho.org/modules.php?op=modload&name=DB_phpBB2&file=viewtopic&p=56#56 Any ideas would be very much appreciated. Thanks. Tony Laszlo http://www.issho.org/laszlo.html -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php