Skip to content

Commit

Permalink
Fixed bug with output command. JS file doesn't like the BOM.
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranid committed Apr 9, 2017
1 parent 53a9e37 commit ce3b01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DotNetToJScript/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static void Main(string[] args)
}
if (!String.IsNullOrEmpty(output_file))
{
File.WriteAllText(output_file, script, Encoding.UTF8);
File.WriteAllText(output_file, script, new UTF8Encoding(false));
}
else
{
Expand Down

0 comments on commit ce3b01c

Please sign in to comment.