21,893
社区成员




<?php
$file = fopen("liuyan.txt", "r") or exit("Unable to open file!");
//Output a line of the file until the end is reached
while(!feof($file)){
$string .= fgets($file);
}
fclose($file);
$chinese = iconv('ISO-8859-1', 'GB2312', $string);
echo $chinese;
?>