1.1 --- a/XSLForms/Resources/WebResources.py Sun Feb 03 00:13:42 2008 +0000
1.2 +++ b/XSLForms/Resources/WebResources.py Sun Feb 03 20:04:44 2008 +0000
1.3 @@ -418,7 +418,7 @@
1.4
1.5 # Start the response.
1.6
1.7 - encoding = attributes.get("encoding") or self.encoding
1.8 + encoding = attributes.get("encoding") or self.encoding or trans.default_charset
1.9 content_type = content_type or WebStack.Generic.ContentType("application/xhtml+xml", encoding)
1.10 trans.set_content_type(content_type)
1.11