changeset 3948:be5d099e7a62

Send encoding information in rss header
author Edouard Gomez <ed.gomez@free.fr>
date Thu, 21 Dec 2006 20:41:56 +0100
parents 79cf097774ef
children 6257030134f4 3d3007064a17
files templates/rss/header.tmpl
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/templates/rss/header.tmpl	Wed Dec 20 23:41:27 2006 +0100
+++ 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>