From dcaabeabf879eb2054fb1109ef8ea2e90ab0da53 Mon Sep 17 00:00:00 2001 From: ced <> Date: Thu, 20 Sep 2007 08:48:27 +0000 Subject: [PATCH] Fix coding in print screen bzr revid: ced-c905f30694a0e47b635069101607e77c2216a333 --- bin/report/printscreen/ps_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/report/printscreen/ps_list.py b/bin/report/printscreen/ps_list.py index c6210f33e36..d0aa92bc83b 100644 --- a/bin/report/printscreen/ps_list.py +++ b/bin/report/printscreen/ps_list.py @@ -136,7 +136,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)