} // END - if
// Convert all to UTF8
- $content = recode("html..utf8", $content);
+ if (function_exists('recode')) {
+ $content = recode("html..utf8", $content);
+ } else {
+ // @TODO We need to find a fallback solution here
+ } // END - if
// Get an XML parser
$xmlParser = xml_parser_create();