[Reportbug-maint] Bug#497641: Patch for fixing terminal that hangs on untranslated UTF-8 strings.

Vincent Fourmond fourmond at debian.org
Mon Oct 27 20:01:42 UTC 2008


tag 497641 +patch
thanks

  Hello,

  I was starting to get decently fed up with reportbug/querybts choking
on every second package, so I had a look... Here is a simple fix. I
checked that it works both with a latin-1 and an utf-8 locale. I believe
it just does the trick (I'm not a great python coder, let's face it).

  However, as you don't really handle encoding of strings, you'll run
into the same problem another day. They best would be to convert the
strings into Unicode at the source (right after you download them from
the BTS). I can have a look into that and submit another patch if you wish.

  Hope this helps, and I hope you'll fix that quickly, as it simply
makes reportbug/querybts mostly unsable on systems where the encoding
isn't the one from bugs.debian.org (I'm tempted to raise the severity
just for that).

  Cheers,

	Vincent

-- 
Vincent Fourmond, Debian Developer
http://vince-debian.blogspot.com/

More than any other time in history, mankind faces a crossroads.
One path leads to despair and utter hopelessness.
The other, to total extinction.
Let us pray we have the wisdom to choose correctly.
 -- Woody Allen

Vincent, listening to Namehanje (Abdullah Ibrahim)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-utf8-in-querybts.diff
Url: http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20081027/8c645025/attachment.txt 


More information about the Reportbug-maint mailing list