[PATCH] Send encoding information in rss header

Edouard Gomez ed.gomez at free.fr
Thu Dec 21 18:43:39 UTC 2006


# HG changeset patch
# User Edouard Gomez <ed.gomez at free.fr>
# Date 1166730116 -3600
# Node ID 469a46e0f7a4ea41da92e56e21f37105c215651c
# Parent  ac02810132ca20f02a88afd77a48bc33f60e09c6
Send encoding information in rss header

diff -r ac02810132ca -r 469a46e0f7a4 templates/rss/header.tmpl
--- a/templates/rss/header.tmpl	Wed Dec 20 13:11:35 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
+Content-type: text/xml; charset={encoding}
 
+<?xml version="1.0" encoding="{encoding}"?>
 <rss version="2.0">
   <channel>
     <link>{urlbase}{url}</link>



More information about the Mercurial-devel mailing list