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.

Best regards,
Andreas

[1]http://stackoverflow.com/a/454848
[2]https://en.wikipedia.org/wiki/Germanic_umlaut

Reply via email to