Chinese garbage problem

 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    ? < PHP 
    header ( " Content-type: text / HTML; charset = UTF-. 8 " ); 
    $ path = ' F.: \ PHPajax \ file.txt ' ; 
    $ FP = the fopen ($ path, ' R & lt ' );      / / read mode 
    fwrite ($ fp, " the actual occurrence era where you ha ah " ); 
    echo fgets ($ fp); 
    fclose ($ fp);

 ?>

 

Guess you like

Origin www.cnblogs.com/xiaowie/p/11229554.html