Bug #20687 New

404 Pages are Missing Charset from HTTP Response Header

Version: 2.9.2 Reporter: ottergoose

Ran into this when our 404 pages in German and Chinese weren’t getting served with correct UTF-8 encoding.

File: system/expressionengine/core/EE_Output.php, at line 100:

case '404':  $this->set_status_header(404);
    $this->set_header("Date: ".gmdate("D, d M Y H:i:s")." GMT");


  • Nobody has said anything yet.

You must be signed in to comment on a bug report.

  • case '404':  $this->set_status_header(404);
        $this->set_header("Date: ".gmdate("D, d M Y H:i:s")." GMT");
        $this->set_header("Content-Type: text/html; charset=".$EE->config->item('charset'));

ExpressionEngine News

#eecms, #events, #releases