$filename="./uploads/woshiwenjian.txt"; $html=file_get_contents($filename); $html=mb_convert_encoding($html, 'UTF-8', 'GBK'); dump($html);