SyntaxFix
Write A Post
Hire A Developer
Questions
This works for me. :)
$f=fopen($filename,"w"); # Now UTF-8 - Add byte order mark fwrite($f, pack("CCC",0xef,0xbb,0xbf)); fwrite($f,$content); fclose($f);