From f3d84cf361ab757a3bf6e4e9d7cea36cf1cd9531 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sat, 29 Aug 2015 21:29:35 -0400 Subject: [PATCH] #331 Update common --- inc/common.inc.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/inc/common.inc.php b/inc/common.inc.php index 8fe783c0..f033a92e 100644 --- a/inc/common.inc.php +++ b/inc/common.inc.php @@ -37,6 +37,12 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');} #error_reporting(E_ALL); +// Set correct Content-Type header +if ( ! defined('NO_HTTP_HEADER') ) +{ + header('Content-Type: text/html; charset=utf-8'); +} + // Set backslash options if (get_magic_quotes_gpc()) {