我想要 PHP 中的 UTF-8 HTML 文件:
$html = file_get_contents ( 'http://google.com/' );
file_put_contents ( 'utf8.html', $html );
// Is not UTF-8. It is ISO-8859-1. I would like UTF-8.
谢谢!
我想要 PHP 中的 UTF-8 HTML 文件:
$html = file_get_contents ( 'http://google.com/' );
file_put_contents ( 'utf8.html', $html );
// Is not UTF-8. It is ISO-8859-1. I would like UTF-8.
谢谢!