changeset 3985:4874ca8a53c1

Send encoding information in rss header
author Edouard Gomez <ed.gomez@free.fr>
date Thu, 21 Dec 2006 20:41:56 +0100
parents f82b3f915605
children f921bcba405d
files templates/rss/header.tmpl
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/templates/rss/header.tmpl	Thu Dec 14 17:32:25 2006 -0600
+++ b/templates/rss/header.tmpl	Thu Dec 21 20:41:56 2006 +0100
@@ -1,5 +1,6 @@
-Content-type: text/xml
+Content-type: text/xml; charset={encoding}
 
+<?xml version="1.0" encoding="{encoding}"?>
 <rss version="2.0">
   <channel>
     <link>{urlbase}{url}</link>