[open-ils-commits] r14777 - branches/rel_1_6_0/Open-ILS/web/templates (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Nov 4 16:52:43 EST 2009


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

Modified:
   branches/rel_1_6_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: branches/rel_1_6_0/Open-ILS/web/templates/base.tt2
===================================================================
--- branches/rel_1_6_0/Open-ILS/web/templates/base.tt2	2009-11-04 21:52:17 UTC (rev 14776)
+++ branches/rel_1_6_0/Open-ILS/web/templates/base.tt2	2009-11-04 21:52:37 UTC (rev 14777)
@@ -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