Soucis UTF-8 avec reportbug
Bonjour,
Je suis récemment passé à l'UTF-8 et reportbug ne fonctionne plus...
=======================
$ ./updatetraduc.sh backup-manager
*** Welcome to reportbug. Use ? for help at prompts. ***
Detected character set: UTF-8
Please change your locale if this is incorrect.
Using 'Michel Grentzinger <mic.grentz@online.fr>' as your from address.
Will send report to Debian (per lsb_release).
Traceback (most recent call last):
File "/usr/bin/reportbug", line 1745, in ?
main()
File "/usr/bin/reportbug", line 778, in main
return iface.user_interface()
File "/usr/bin/reportbug", line 1677, in user_interface
fh.write(message.encode(charset, 'replace'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 24:
ordinal not in range(128)
====================
Mon script updatetraduc.sh
====================
#!/bin/bash
reportbug --attach=fr.po --editor=emacs --include="/home/michel/debian/po-debconf/3-LCFC/AFAIRE/update" --offline -s "$1:
[INTL:fr] French debconf templates translation
update" --severity=wishlist --tag=patch --tag=l10n --package-version="N/A" --no-config-files
$1
====================
Quelqu'un aurait une idée ?
--
Michel Grentzinger
OpenPGP key ID : B2BAFAFA
Available on http://www.keyserver.net
Reply to: