/** * Method to convert the content to UTF * @note Depricated on Ofuz 0.6 and will not be abailable on further version */ function convert_to_utf($content) { include_once 'class/utf8.class.php'; $do_utf8 = new utf8(); $content = $do_utf8->convert($content, 'windows-1252', "UTF-8"); $content = $do_utf8->convert($content, 'US-ASCII', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-1', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-2', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-3', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-4', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-5', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-6', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-7', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-8', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-8-i', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-9', "UTF-8"); $content = $do_utf8->convert($content, 'ISO-8859-15', "UTF-8"); return $content; }