bzr-email fails if committer has non-ascii gecos

Glenn Morris rgm at gnu.org
Wed Aug 28 21:15:58 UTC 2013


Glenn Morris wrote:

> So I suppose I have to add a call to
>
>   locale.setlocale(locale.LC_ALL, "")
>
> at the start of get_user_encoding, or something like that?

Ah, that was a red herring, because I was testing bzrlib directly, but
bzr itself already calls setlocale.

If I set LANG=en_US.ISO8859-1, then bzr email works!

(I still wonder why it is apparently using the system gecos data for the
From: address rather than the `bzr whoami' data.)



More information about the bazaar mailing list