Hi,

On Sat, Sep 26, 2015 at 08:48:47AM +0200, Christian PERRIER wrote:
> Just a quick note to mention that this bug is also affecting me. 
[..]
> But, even with the C locale:
> Traceback (most recent call last):
>   File "/usr/bin/unattended-upgrade", line 1406, in <module>
>     help=_("print debug messages"))
>   File "/usr/lib/python3.4/gettext.py", line 519, in lgettext
>     return ldgettext(_current_domain, message)
>   File "/usr/lib/python3.4/gettext.py", line 491, in ldgettext
>     return t.lgettext(message)
>   File "/usr/lib/python3.4/gettext.py", line 317, in lgettext
>     return tmsg.encode(locale.getpreferredencoding())
> UnicodeEncodeError: 'ascii' codec can't encode character '\xe9' in position 
> 26: ordinal not in range(128)
[..]

Thanks, this appears to be a regression caused by moving from gettext
to lgettext. It seems like this needs to be reverted.

Cheers,
 Michael

Reply via email to