[request] add a note about the encoding mgmt (or lack thereof) stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 04 Feb 2010 11:33:09 +0100
branchstable
changeset 4454 aba1b563705b
parent 4453 b8df4eaffd47
child 4455 6af31772765f
[request] add a note about the encoding mgmt (or lack thereof)
web/request.py
--- a/web/request.py	Thu Feb 04 11:32:13 2010 +0100
+++ b/web/request.py	Thu Feb 04 11:33:09 2010 +0100
@@ -744,7 +744,7 @@
 
     def document_surrounding_div(self):
         if self.xhtml_browser():
-            return (u'<?xml version="1.0"?>\n' + STRICT_DOCTYPE +
+            return (u'<?xml version="1.0"?>\n' + STRICT_DOCTYPE + # XXX encoding ?
                     u'<div xmlns="http://www.w3.org/1999/xhtml" xmlns:cubicweb="http://www.logilab.org/2008/cubicweb">')
         return u'<div>'