# HG changeset patch # User paulb # Date 1121357928 0 # Node ID 6b270cffc3d4144a810c259c91a9ed6ddb8f9d2c # Parent 666a1c437535b36ad18348d5b56559c70a4eb5cd [project @ 2005-07-14 16:18:48 by paulb] Added encoding usage to the processing of in-page update field values. diff -r 666a1c437535 -r 6b270cffc3d4 examples/Common/Configurator/__init__.py --- a/examples/Common/Configurator/__init__.py Thu Jul 14 16:04:05 2005 +0000 +++ b/examples/Common/Configurator/__init__.py Thu Jul 14 16:18:48 2005 +0000 @@ -24,7 +24,7 @@ } def get_fields_from_body(self, trans, encoding): - text = trans.get_request_stream().read() + text = trans.get_request_stream().read().decode(encoding) parameters = {} for text_line in text.split("\r\n"): text_parts = text_line.split("=")