为什么我在echo上遇到了charset的问题?
$url = "http://ru.wikipedia.org"; $site=file_get_contents($url); echo $site;
发布于 2010-03-21 23:03:51
尝试将header('Content-Type: text/html;charset=utf-8');放在文件的开头
header('Content-Type: text/html;charset=utf-8');
https://stackoverflow.com/questions/2487477
相似问题