[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.2-23-ga6ce9af
Sandro Tosi
morph at debian.org
Sat May 9 15:49:19 UTC 2009
The following commit has been merged in the master branch:
commit c7e6b6a2e2c3ccca822936aa05742a59087d3a30
Author: Sandro Tosi <morph at debian.org>
Date: Sat May 9 17:20:38 2009 +0200
- decode UTF-8 body text to avoid encoding issues; thanks to nathael for the
report and to Carl Chenet for the patch; Closes: #496210
diff --git a/debian/changelog b/debian/changelog
index 16b9bcd..2f796de 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,8 +27,11 @@ reportbug (4.3) UNRELEASED; urgency=low
- display the correct message when saving the report into a file (using the
'-o' option); thanks to Timo Juhani Lindfors for the report and to Carl
Chenet for the patch; Closes: #496083
+ * reportbug/bugreport.py
+ - decode UTF-8 body text to avoid encoding issues; thanks to nathael for the
+ report and to Carl Chenet for the patch; Closes: #496210
- -- Sandro Tosi <morph at debian.org> Sat, 09 May 2009 16:34:28 +0200
+ -- Sandro Tosi <morph at debian.org> Sat, 09 May 2009 17:14:51 +0200
reportbug (4.2) unstable; urgency=low
diff --git a/reportbug/bugreport.py b/reportbug/bugreport.py
index 16df399..3209954 100644
--- a/reportbug/bugreport.py
+++ b/reportbug/bugreport.py
@@ -98,6 +98,7 @@ class bugreport(object):
headers += u'Version: %s\n' % version
body = getattr(self, 'body', u'')
+ body = body.decode('utf8')
if self.mode < utils.MODE_ADVANCED:
body = utils.NEWBIELINE+u'\n\n'+body
elif not body:
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list