Comment 21 for bug 640689

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 640689] Re: [Maverick] username mismatch with quickly share

On 5 October 2010 19:32, Markus Korn <email address hidden> wrote:
> I think the fix in quickly should be as simple as using
>
>   result, err = gpg_instance.communicate(key_generate.encode('utf-8'))
>
> in quicklyutils.py, line 298, (untested, just from reading the
> traceback)

That would probably fix it, though it's probably not the correct fix.
Strictly speaking the encoding ought to be determined by the locale
not hardcoded to utf8, but perhaps on Ubuntu it's reasonable to say it
must always be utf-8, even if the user wants something else on their
terminal? If you want to use non-ascii, you should use a unicode
locale.

--
Martin