[Reportbug-maint] Bug#612712: Wider effects of the unicode conversion problem

Csaba GAÁL 2csgaal at gmail.com
Mon Feb 6 18:37:03 UTC 2012


Dear Sirs,

another example of the unicode conversion error is using reportbug
direct reporting function. The "reportbug -N 658670" command resulted
in:

Retrieving report #658670 from Debian bug tracking system...
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 2199, in <module>
    main()
  File "/usr/bin/reportbug", line 1077, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1359, in user_interface
    mbox_reader_cmd=self.options.mbox_reader_cmd)
  File "/usr/lib/pymodules/python2.7/reportbug/ui/text_ui.py", line
441, in show_report
    fd.write(text)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in
position 734: ordinal not in range(128)


So it seems that the problem also persists when a previously reported
bug contains UTF-8 characters.

Thank You in advance for sorting this problem out.

Yours truly,

Csaba GAÁL





More information about the Reportbug-maint mailing list