Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gofeminin.de
signature-generator
Commits
3f9aa53f
Commit
3f9aa53f
authored
Nov 06, 2014
by
Marco Kellershoff
Browse files
Prepended utf8 bom to generated file
parent
0c39a31b
Changes
1
Hide whitespace changes
Inline
Side-by-side
sig.php
View file @
3f9aa53f
...
...
@@ -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'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment