[open-ils-commits] r14778 - tags/rel_1_6_0_0/Open-ILS/web/templates (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Nov 4 16:53:01 EST 2009


Author: dbs
Date: 2009-11-04 16:52:55 -0500 (Wed, 04 Nov 2009)
New Revision: 14778

Modified:
   tags/rel_1_6_0_0/Open-ILS/web/templates/base.tt2
Log:
Set the encoding for oilsweb templates for systems that haven't set a default charset header in Apache

This resolves a problem seen on Karmic where corrupted characters
were displayed in Vandelay and other TT2 interfaces.


Modified: tags/rel_1_6_0_0/Open-ILS/web/templates/base.tt2
===================================================================
--- tags/rel_1_6_0_0/Open-ILS/web/templates/base.tt2	2009-11-04 21:52:37 UTC (rev 14777)
+++ tags/rel_1_6_0_0/Open-ILS/web/templates/base.tt2	2009-11-04 21:52:55 UTC (rev 14778)
@@ -5,6 +5,7 @@
 <html xmlns='http://www.w3.org/1999/xhtml' lang='[% ctx.locale %]' xml:lang='[% ctx.locale %]'>
     <head>
         <title>[% ctx.page_title %]</title>
+	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
         <link rel='stylesheet' type='text/css'
             href='[% ctx.media_prefix %]/css/skin/[% ctx.skin %].css'></link>
         <link rel='stylesheet' type='text/css'



More information about the open-ils-commits mailing list