Commit 0f1f45c7 authored by Steven Wittens's avatar Steven Wittens

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
......@@ -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"])) {
......
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