[Fusionforge-commits] r14522 - trunk/src/common/docman/include

Franck VILLAUME nerville at fusionforge.org
Sun Oct 2 20:08:46 CEST 2011


Author: nerville
Date: 2011-10-02 20:08:45 +0200 (Sun, 02 Oct 2011)
New Revision: 14522

Modified:
   trunk/src/common/docman/include/webdav.php
Log:
fix utf-8 encoding

Modified: trunk/src/common/docman/include/webdav.php
===================================================================
--- trunk/src/common/docman/include/webdav.php	2011-10-01 18:10:54 UTC (rev 14521)
+++ trunk/src/common/docman/include/webdav.php	2011-10-02 18:08:45 UTC (rev 14522)
@@ -213,8 +213,7 @@
 		$analysed_path = $this->analyse($subpath, $group_id);
 
 		if ($analysed_path['isdir']) {
-			echo '<?xml version="1.0" encoding="utf-8"?>';
-			echo "<html><head><title>Index of ".htmlspecialchars($subpath)."</title></head>\n";
+			echo "<html><meta http-equiv='Content-Type' content='text/html charset=UTF-8' /><head><title>Index of ".htmlspecialchars($subpath)."</title></head>\n";
 			echo "<body>\n";
 			echo "<h1>Index of ".htmlspecialchars($subpath)."</h1>\n";
 			echo "<ul>";




More information about the Fusionforge-commits mailing list