diff --git a/ucs-4.0-2/management/univention-management-console/src/univention/management/console/protocol/message.py b/ucs-4.0-2/management/univention-management-console/src/univention/management/console/protocol/message.py index 8bce568..6f85231 100644 --- a/ucs-4.0-2/management/univention-management-console/src/univention/management/console/protocol/message.py +++ b/ucs-4.0-2/management/univention-management-console/src/univention/management/console/protocol/message.py @@ -129,6 +129,8 @@ def _formattedMessage(_id, _type, mimetype, command, body, arguments): if mimetype == MIMETYPE_JSON: data = json.dumps(body) else: + if isinstance(body, unicode): + body = body.encode('UTF-8') data = body args = '' if arguments: