Bug #20687 Version Retired

404 Pages are Missing Charset from HTTP Response Header

Version: 2.9.2 Reporter: ottergoose

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

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");
 break;

 

  • Nobody has said anything yet.
  • 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'));
     break;
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases