]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 639371: Include the charset into HTML pages when the utf8 param is true
authorBjoern Jacke <bjoern@j3e.de>
Tue, 8 Mar 2011 23:38:43 +0000 (00:38 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Tue, 8 Mar 2011 23:38:43 +0000 (00:38 +0100)
r/a=mkanat

template/en/default/global/header.html.tmpl

index 2da2d642d37077c29241f5b7a97d4661becbc36d..d6a07bcd3d2b68fb3433f86a9510088f0509ce4e 100644 (file)
     [% 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" %]