summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorBjoern Jacke <bjoern@j3e.de>2011-03-09 00:38:43 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2011-03-09 00:38:43 +0100
commit6c42067c9c5ca5bb7fe6ad544101eb414e299e17 (patch)
tree3c6db206a9b85ee051f658ea0f10784b5b020657 /template
parent729e221d58c1e0dafb027ddef399c9f5a210b1d0 (diff)
downloadbugzilla-6c42067c9c5ca5bb7fe6ad544101eb414e299e17.tar.gz
bugzilla-6c42067c9c5ca5bb7fe6ad544101eb414e299e17.tar.xz
Bug 639371: Include the charset into HTML pages when the utf8 param is true
r/a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/header.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl
index 2da2d642d..d6a07bcd3 100644
--- a/template/en/default/global/header.html.tmpl
+++ b/template/en/default/global/header.html.tmpl
@@ -96,6 +96,10 @@
[% Hook.process("start") %]
<title>[% title %]</title>
+ [% IF Param('utf8') %]
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ [% END %]
+
[%# Migration note: contents of the old Param 'headerhtml' would go here %]
[% PROCESS "global/site-navigation.html.tmpl" %]