Remove encoding

This commit is contained in:
Michael RICOIS 2013-10-23 12:15:04 +00:00
parent 3f01841234
commit a8612e5a78

View File

@ -122,9 +122,9 @@ function getPage($url, $curl_data = '', $override = null)
//Rewrite encoding to UTF-8
//text/html; charset=ISO-8859-1
$encoding = getPageHeader('text\/html; charset=', '', $header['content_type']);
//$encoding = getPageHeader('text\/html; charset=', '', $header['content_type']);
//$encoding = 'ISO-8859-1';
$content = iconv($encoding, 'UTF-8//IGNORE', $content);
//$content = iconv($encoding, 'UTF-8//TRANSLIT', $content);
// $header['errno'] = $err;
// $header['errmsg'] = $errmsg;