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
d88109f1
Commit
d88109f1
authored
Mar 20, 2017
by
Marco Kellershoff
Browse files
Try to fix with utf8 bom
parent
543c7d82
Changes
1
Hide whitespace changes
Inline
Side-by-side
sig.php
View file @
d88109f1
...
...
@@ -65,7 +65,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
echo
"
\xEF\xBB\xBF
"
;
// UTF-8 BOM
}
else
{
header
(
'Content-Disposition: inline; filename='
.
FILENAME
);
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