[PATCH] allow special character poorly truncated beeing replaced by a ? character
Carl Chenet
carl.chenet at ohmytux.com
Sun Jun 7 21:56:35 UTC 2009
---
reportbug/ui/text_ui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/reportbug/ui/text_ui.py b/reportbug/ui/text_ui.py
index 721fc6b..15db2b7 100644
--- a/reportbug/ui/text_ui.py
+++ b/reportbug/ui/text_ui.py
@@ -613,7 +613,7 @@ def browse_bugs(hierarchy, count, bugs, bts, queryonly, mirrors,
while 1:
for line in lastpage:
- sys.stderr.write(line.decode('utf-8').encode(output_encoding, "replace"))
+ sys.stderr.write(line.decode('utf-8', "replace").encode(output_encoding, "replace"))
x = select_options(pstr, options, helptext,
allow_numbers=allowed)
if x == 'n':
--
1.5.4.3
--=-sVfwkdbiAFCWzac1jlW9--
More information about the Reportbug-maint
mailing list