lostwages/include html.php themes/winehq/conte ...

Jeremy Newman jnewman at wine.codeweavers.com
Thu Jan 11 15:37:37 CST 2007


ChangeSet ID:	30877
CVSROOT:	/opt/cvs-commit
Module name:	lostwages
Changes by:	jnewman at winehq.org	2007/01/11 15:37:37

Modified files:
	include        : html.php 
	include/themes/winehq: content.template 

Log message:
	change default output encoding to UTF-8

Patch: http://cvs.winehq.org/patch.py?id=30877

Old revision  New revision  Changes     Path
 1.17          1.18          +1 -0       lostwages/include/html.php
 1.10          1.11          +1 -1       lostwages/include/themes/winehq/content.template

Index: lostwages/include/html.php
diff -u -p lostwages/include/html.php:1.17 lostwages/include/html.php:1.18
--- lostwages/include/html.php:1.17	11 Jan 2007 21:37:37 -0000
+++ lostwages/include/html.php	11 Jan 2007 21:37:37 -0000
@@ -853,6 +853,7 @@ class html 
     // HTTP HEADER (better header)
     function http_header ($title = "")
     {
+        header("Content-type: text/html; charset=UTF-8"); 
 	    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
 	    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); 
 	    header("Cache-Control: no-store, no-cache, must-revalidate");
Index: lostwages/include/themes/winehq/content.template
diff -u -p lostwages/include/themes/winehq/content.template:1.10 lostwages/include/themes/winehq/content.template:1.11
--- lostwages/include/themes/winehq/content.template:1.10	11 Jan 2007 21:37:37 -0000
+++ lostwages/include/themes/winehq/content.template	11 Jan 2007 21:37:37 -0000
@@ -5,7 +5,7 @@
 	<title>{$page_title}</title>
     <meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">
     <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
-    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 	<link rel="stylesheet" href="{$root}/winehq_styles.css" type="text/css">
 </head>
 



More information about the wine-cvs mailing list