Remove encoding
This commit is contained in:
parent
3f01841234
commit
a8612e5a78
@ -122,9 +122,9 @@ function getPage($url, $curl_data = '', $override = null)
|
|||||||
|
|
||||||
//Rewrite encoding to UTF-8
|
//Rewrite encoding to UTF-8
|
||||||
//text/html; charset=ISO-8859-1
|
//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';
|
//$encoding = 'ISO-8859-1';
|
||||||
$content = iconv($encoding, 'UTF-8//IGNORE', $content);
|
//$content = iconv($encoding, 'UTF-8//TRANSLIT', $content);
|
||||||
|
|
||||||
// $header['errno'] = $err;
|
// $header['errno'] = $err;
|
||||||
// $header['errmsg'] = $errmsg;
|
// $header['errmsg'] = $errmsg;
|
||||||
|
Loading…
Reference in New Issue
Block a user