From 797cedf1d312a90c49bfd76b72c7c4d09439977b Mon Sep 17 00:00:00 2001 From: "duncan.parkes" Date: Wed, 13 Aug 2008 09:43:55 +0000 Subject: [PATCH] Try declaring the charset as utf-8 --- trunk/python_scrapers/CGITemplate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/python_scrapers/CGITemplate b/trunk/python_scrapers/CGITemplate index 03ea055..8b78908 100644 --- a/trunk/python_scrapers/CGITemplate +++ b/trunk/python_scrapers/CGITemplate @@ -26,6 +26,6 @@ parser = %(module)s.%(parser)s(authority_name, authority_short_name, base_url) xml = parser.getResults(day, month, year) -print "Content-Type: text/xml" # XML is following +print "Content-Type: text/xml; charset=utf-8" # XML is following print print xml.encode("utf-8") # print the xml