[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Soucis UTF-8 avec reportbug



Michel Grentzinger <mic.grentz@online.fr> (26/09/2006):
> 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 ?

Tu n'aurais pas une espace insécable en iso cachée quelque part dans ton
script ?

-- 
Thomas Huriaux

Attachment: signature.asc
Description: Digital signature


Reply to: