Commit 3f9aa53f authored by Marco Kellershoff's avatar Marco Kellershoff
Browse files

Prepended utf8 bom to generated file

parent 0c39a31b
......@@ -54,6 +54,7 @@ $template_contents = str_replace(
header('Content-Description: File Transfer');
header('Content-Disposition: attachment; filename='.FILENAME);
header('Content-Transfer-Encoding: binary');
echo "\xEF\xBB\xBF"; // UTF-8 BOM
} else {
header('Content-Type: text/html, charset=utf-8');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment