[or-cvs] r21725: {website} mandate UTF-8 on all wml pages (website/trunk/include)

Roger Dingledine arma at torproject.org
Mon Feb 22 23:27:03 UTC 2010


Author: arma
Date: 2010-02-22 23:27:03 +0000 (Mon, 22 Feb 2010)
New Revision: 21725

Modified:
   website/trunk/include/README
   website/trunk/include/head.wmi
Log:
mandate UTF-8 on all wml pages


Modified: website/trunk/include/README
===================================================================
--- website/trunk/include/README	2010-02-22 23:17:04 UTC (rev 21724)
+++ website/trunk/include/README	2010-02-22 23:27:03 UTC (rev 21725)
@@ -10,7 +10,7 @@
   # Revision: $Revision$
   # Translation-Priority: 1-high
 
-  #include "head.wmi" TITLE="Tor: Bridges" CHARSET="UTF-8"
+  #include "head.wmi" TITLE="Tor: Bridges"
 
   <div class="main-column">
 

Modified: website/trunk/include/head.wmi
===================================================================
--- website/trunk/include/head.wmi	2010-02-22 23:17:04 UTC (rev 21724)
+++ website/trunk/include/head.wmi	2010-02-22 23:27:03 UTC (rev 21725)
@@ -13,8 +13,7 @@
 <head>
   <title>$(TITLE)</title>
   <meta name="Author" content="The Tor Project, Inc." />
-  <ifneq "$(CHARSET)" "" "<meta http-equiv="content-type" content="text/html; charset=$(CHARSET)" />">
-  <ifeq "$(CHARSET)" "" "<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />">
+  <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
   <ifneq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/$(STYLESHEET)" />">
   <ifeq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/stylesheet-ltr.css" />">
   <link rel="shortcut icon" type="image/x-icon" href="$(DOCROOT)/favicon.ico" />



More information about the tor-commits mailing list