From 1f1e52716a6640c7a3b7e38ccdc6ce562db61e82 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 --- python_scrapers/CGITemplate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_scrapers/CGITemplate b/python_scrapers/CGITemplate index 03ea055..8b78908 100644 --- a/python_scrapers/CGITemplate +++ b/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