On Sat, Mar 5, 2016 at 2:26 PM, Andreas Doll <fus...@posteo.de> wrote:
> On 2016-03-05 at 01:16, Xu Wang wrote:
>> Does anyone else have a problem to use "A" to call abook to add the
>> sender's name and email as an entry if that name has an accent? For me
>> the name receives a strange questionmark and some gibberish. The name
>> displays fine in mutt so It think I have utf8 configured.
>
> Yes, I can confirm this. However, the "gibberish" is the encoding of non-ascii
> characters, compare [1], so this affects also names containing e.g. Umlaute 
> [2].
>
> Example: =?utf-8?B?Q2zDoXVkaW8gR2ls?=
>
>    $ python
>    >>> from base64 import *
>    >>> sender = 'Q2zDoXVkaW8gR2ls'
>    >>> print b64decode(sender).decode('utf-8')
>
> should give you the correct sender name with accents.
>
> Thus I'd say the fault is on abooks side, which doesn't perform the necessary
> decodings.  Maybe you want to file an issue there.

Thank you for this analysis! It is good to know I am not the only one.
I am not planning to make bug report because I do not know how to make
minimal example. I think minimal example would only use abook but I
only use abook through mutt.

Kind regards,

Xu

Reply via email to