[Reportbug-maint] Bug#496210: Patch for this bug

chaica chaica at ohmytux.com
Wed Apr 1 21:30:38 UTC 2009

tags 496210 patch

reportbug 4.0 also has this bug. The following line triggers the bug : 
            body = utils.NEWBIELINE+u'\n\n'+body
body is a string, not a utf8 string and body in that bugreport contains
special french caracters, which won't be able to become utf-8 caracters
when associated with a utf-8 string (associating string and utf-8 string
gives a utf-8 string, except if a UnicodeDecodeError is thrown).
Here is a simple patch to solve this issue.

Carl Chenet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugreport.py.diff
Type: text/x-patch
Size: 47 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20090401/fa83138b/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20090401/fa83138b/attachment.pgp 

More information about the Reportbug-maint mailing list