From ebbf99690c07fd9ae380bce028fbe9546860e796 Mon Sep 17 00:00:00 2001 From: ced <> Date: Wed, 26 Sep 2007 05:19:52 +0000 Subject: [PATCH] Fix encoding in printscreen form bzr revid: ced-283a87f48b62409ff29d64d906e230f5c4a0c166 --- bin/report/printscreen/ps_form.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/report/printscreen/ps_form.py b/bin/report/printscreen/ps_form.py index f93955c9f02..7aa6ded85b1 100644 --- a/bin/report/printscreen/ps_form.py +++ b/bin/report/printscreen/ps_form.py @@ -123,7 +123,7 @@ class report_printscreen_list(report_int): for f in fields_order: field = new_doc.createElement("field") - field_txt = new_doc.createTextNode('%s' % (fields[f]['string'],)) + field_txt = new_doc.createTextNode(fields[f]['string'].encode('utf-8')) field.appendChild(field_txt) header.appendChild(field)