require unicode
authorsylvain.thenault@logilab.fr
Wed, 25 Feb 2009 11:01:27 +0100
changeset 950 8ac01018f499
parent 949 1fba39d6ee70
child 951 d4bb69eac55a
require unicode
web/views/euser.py
--- a/web/views/euser.py	Wed Feb 25 09:30:30 2009 +0100
+++ b/web/views/euser.py	Wed Feb 25 11:01:27 2009 +0100
@@ -40,7 +40,7 @@
     content_type = 'text/xml'
 
     def call(self):
-        self.w('''<?xml version="1.0" encoding="%s"?>
+        self.w(u'''<?xml version="1.0" encoding="%s"?>
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
          xmlns:rdfs="http://www.w3org/2000/01/rdf-schema#"
          xmlns:foaf="http://xmlns.com/foaf/0.1/"> '''% self.req.encoding)