aboutsummaryrefslogtreecommitdiffstats
path: root/include/page_header.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/page_header.php')
-rw-r--r--include/page_header.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/page_header.php b/include/page_header.php
index 0dea51a33..0ce9281e2 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -46,7 +46,7 @@ $template->assign_vars(
isset($page['body_id']) ?
$page['body_id'] : '',
- 'CONTENT_ENCODING' => $lang_info['charset'],
+ 'CONTENT_ENCODING' => get_pwg_charset(),
'PAGE_TITLE' => strip_tags($title),
'LANG'=>$lang_info['code'],
'DIR'=>$lang_info['direction'],
@@ -99,7 +99,7 @@ if ( isset( $refresh ) and intval($refresh) >= 0
trigger_action('loc_end_page_header');
-header('Content-Type: text/html; charset='.$lang_info['charset']);
+header('Content-Type: text/html; charset='.get_pwg_charset());
$template->parse('header');
trigger_action('loc_after_page_header');