[Reportbug-maint] Bug#539736: reportbug: --subject does not accept non-ASCII characters
Jakub Wilk
ubanus at users.sf.net
Mon Aug 3 12:04:42 UTC 2009
* Sandro Tosi <morph at debian.org>, 2009-08-03, 13:24:
>> Package: reportbug
>> Version: 4.5
>> Severity: normal
>>
>> $ reportbug reportbug -s 'żółw'
>> *** Welcome to reportbug. Use ? for help at prompts. ***
>> Detected character set: UTF-8
>> [snip]
>> Traceback (most recent call last):
>> File "/home/jwilk/bin/reportbug", line 12, in <module>
>> execfile('/usr/bin/reportbug')
>> File "/usr/bin/reportbug", line 1888, in <module>
>> main()
>> File "/usr/bin/reportbug", line 905, in main
>> return iface.user_interface()
>> File "/usr/bin/reportbug", line 1820, in user_interface
>> message = u"Subject: %s\n%s" % (subject, message)
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 0:
>> ordinal not in range(128)
>
>works fine here:
>
>$ reportbug reportbug -s 'żółw' -O
>*** Welcome to reportbug. Use ? for help at prompts. ***
>Detected character set: UTF-8
>Please change your locale if this is incorrect.
>
>Using 'Sandro Tosi <morph at debian.org>' as your from address.
>Getting status for reportbug...
>Verifying package integrity...
>Will send report to Debian (per lsb_release).
>Maintainer for reportbug is 'Reportbug Maintainers
><reportbug-maint at lists.alioth.debian.org>'.
>Looking up dependencies of reportbug...
>
>
>Enter any additional addresses this report should be sent to; press
>ENTER after each address. Press ENTER on a blank line to continue.
>>
>reportbug: exiting due to user interrupt.
I think you just terminated reportbug to early. (Sorry, my original
report was not precise enough.) Could you try this non-interactive
version?
$ yes '' | PAGER=cat reportbug reportbug -s 'żółw' -O -o /dev/null
--
Jakub Wilk
More information about the Reportbug-maint
mailing list