Skip to content
Snippets Groups Projects
Commit 0f1f45c7 authored by Steven Wittens's avatar Steven Wittens
Browse files

Standard text/html HTTP Content-Type was not cached, causing encoding issues...

Standard text/html HTTP Content-Type was not cached, causing encoding issues on some server configurations.
parent 3c604109
No related branches found
No related tags found
No related merge requests found
......@@ -1312,7 +1312,7 @@ function truncate_utf8($string, $len) {
set_error_handler("error_handler");
// spit out the correct charset http header
header("Content-Type: text/html; charset=utf-8");
drupal_set_header("Content-Type: text/html; charset=utf-8");
// initialize the _GET["q"] prior to loading the modules and invoking their 'init' hook:
if (!empty($_GET["q"])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment