mirror of https://github.com/djcb/mu.git
mu4e-main: decode strings as utf-8
This fixes both bookmarks and maildirs with non-ASCII names. Thanks to @scturtle for pointing this out!
This commit is contained in:
parent
9f1e231824
commit
d68c0fd5b5
|
@ -129,7 +129,10 @@ clicked."
|
|||
for query = (plist-get bm :query)
|
||||
for qcounts = (and (stringp query)
|
||||
(cl-loop for q in queries
|
||||
when (string= (plist-get q :query) query)
|
||||
when (string=
|
||||
(decode-coding-string
|
||||
(plist-get q :query) 'utf-8 t)
|
||||
query)
|
||||
collect q))
|
||||
when (not (plist-get bm :hide))
|
||||
concat (concat
|
||||
|
@ -162,7 +165,11 @@ clicked."
|
|||
for query = (plist-get m :query)
|
||||
for qcounts = (and (stringp query)
|
||||
(cl-loop for q in queries
|
||||
when (string= (plist-get q :query) query)
|
||||
when (string=
|
||||
(decode-coding-string
|
||||
(plist-get q :query)
|
||||
'utf-8 t)
|
||||
query)
|
||||
collect q))
|
||||
when (not (plist-get m :hide))
|
||||
concat (concat
|
||||
|
|
Loading…
Reference in New Issue