utils: explicitly decode contacts string
Seems emacs doesn't know yet they're utf-8. Fixes #1589.
This commit is contained in:
@ -684,8 +684,9 @@ This is used by the completion function in mu4e-compose."
|
|||||||
(if (functionp mu4e-contact-process-function)
|
(if (functionp mu4e-contact-process-function)
|
||||||
(funcall mu4e-contact-process-function (car contact))
|
(funcall mu4e-contact-process-function (car contact))
|
||||||
(car contact))))
|
(car contact))))
|
||||||
(when address
|
(when address ;; note the explicit deccode; the strings we get are utf-8,
|
||||||
(puthash address (cdr contact) mu4e~contacts))))
|
;; but emacs doesn't know yet.
|
||||||
|
(puthash (decode-coding-string address 'utf-8) (cdr contact) mu4e~contacts))))
|
||||||
|
|
||||||
(setq mu4e~contacts-tstamp (or tstamp "0"))
|
(setq mu4e~contacts-tstamp (or tstamp "0"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user