How to file_save_data with utf encoding? file_save_data is saving files with ANSI encoding. I want utf8. How can I specify encoding?
you do it with UTF8 add BOM 

file_put_contents($File_name, "\xEF\xBB\xBF".  $content);