Create file


$file_name = 'E:/123.txt';  

$fp = fopen($file_name,"wb"); 



i want to know how to limit the created file’s encode is Unicode.any tips would be appreciated

Only put Unicode into it…?