[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [1212] trunk



Revision: 1212
          http://svn.sourceforge.net/ledger-smb/?rev=1212&view=rev
Author:   einhverfr
Date:     2007-05-18 16:32:13 -0700 (Fri, 18 May 2007)

Log Message:
-----------
Adding utf-8 default charsets to html headers

Modified Paths:
--------------
    trunk/LedgerSMB/Form.pm
    trunk/locale/html/splash.html

Modified: trunk/LedgerSMB/Form.pm
===================================================================
--- trunk/LedgerSMB/Form.pm	2007-05-18 23:26:03 UTC (rev 1211)
+++ trunk/LedgerSMB/Form.pm	2007-05-18 23:32:13 UTC (rev 1212)
@@ -307,10 +307,9 @@
 qq|<link rel="stylesheet" href="css/$self->{stylesheet}" type="text/css" title="LedgerSMB stylesheet" />\n|;
         }
 
-        if ( $self->{charset} ) {
-            $charset =
+        $self->{charset} ||= "utf-8";
+        $charset =
 qq|<meta http-equiv="content-type" content="text/html; charset=$self->{charset}" />\n|;
-        }
 
         $self->{titlebar} =
           ( $self->{title} )

Modified: trunk/locale/html/splash.html
===================================================================
--- trunk/locale/html/splash.html	2007-05-18 23:26:03 UTC (rev 1211)
+++ trunk/locale/html/splash.html	2007-05-18 23:32:13 UTC (rev 1212)
@@ -6,6 +6,7 @@
 	<title>LedgerSMB Splash page</title>
 	<meta http-equiv="Pragma" content="no-cache" />
 	<meta http-equiv="Expires" content="-1" />
+	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
 	<link rel="shortcut icon" href="../../favicon.ico" type="image/x-icon" />
 	<link rel="stylesheet" href="../../css/ledger-smb.css" type="text/css" title="LedgerSMB stylesheet" />
 	<meta name="robots" content="noindex,nofollow" />


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.