aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2024-08-21 06:30:13 +0000
committerpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2024-08-21 06:30:13 +0000
commit016ccca923dc19207a4e4bae707c97e90c4caeb9 (patch)
tree8244decf51d07238f28d9859da62ce5af11bf7a1 /scripts
parentd7cdc92df3b7847659d944e51b38b23864e9ec90 (diff)
downloadpmwiki.svn-016ccca923dc19207a4e4bae707c97e90c4caeb9.tar.bz2
Meta Content-type moved early and configurable.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4794 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts')
-rw-r--r--scripts/xlpage-utf-8.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/xlpage-utf-8.php b/scripts/xlpage-utf-8.php
index 34f9c1ae..a77a698b 100644
--- a/scripts/xlpage-utf-8.php
+++ b/scripts/xlpage-utf-8.php
@@ -24,8 +24,8 @@ global $HTTPHeaders, $KeepToken, $pagename,
$Charset, $HTMLHeaderFmt, $StrFoldFunction, $AsSpacedFunction;
$Charset = 'UTF-8';
-$HTTPHeaders['utf-8'] = 'Content-type: text/html; charset=UTF-8';
-$HTMLHeaderFmt['utf-8'] =
+$HTTPHeaders['Content-type'] = 'Content-type: text/html; charset=UTF-8';
+$HTMLHeaderFmt['Content-type'] =
"<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />";
SDVA($HTMLStylesFmt, array('rtl-ltr' => "
.rtl, .rtl * {direction:rtl; unicode-bidi:bidi-override;}