2005-07-14 | paulb | raw files shortlog changelog graph | [project @ 2005-07-14 16:18:48 by paulb] Added encoding usage to the processing of in-page update field values. | |
examples/Common/Configurator/__init__.py (file) |
1.1 --- a/examples/Common/Configurator/__init__.py Thu Jul 14 16:04:05 2005 +0000 1.2 +++ b/examples/Common/Configurator/__init__.py Thu Jul 14 16:18:48 2005 +0000 1.3 @@ -24,7 +24,7 @@ 1.4 } 1.5 1.6 def get_fields_from_body(self, trans, encoding): 1.7 - text = trans.get_request_stream().read() 1.8 + text = trans.get_request_stream().read().decode(encoding) 1.9 parameters = {} 1.10 for text_line in text.split("\r\n"): 1.11 text_parts = text_line.split("=")