Comments (5)
Ouch, what a piece of ugly in the IMAP-standard :-/ I guess we need some utf7->utf8 conversion routines when writing the maildir names in the database. (and maybe some reverse routine for 'mu mkdir').
Interestingly, no one ever mentioned this issue since 2008!
from mu.
Its also a modified version of utf7. hehe
http://tools.ietf.org/html/rfc3501#section-5.1.3
I'm currently using the following with offlineimap to do the conversion to utf8 at that level:
https://github.com/dpwright/dotfiles/blob/70bb3ccee5ea6147b25b2b9bae9ca93df5059601/.offlineimap.utf7.py
Then include it in the offineimaprc file and add this to the repo:
nametrans = lambda foldername: foldername.decode('imap4-utf-7').encode('utf-8')
from mu.
I fat fingered the close thing. oops!
from mu.
Okay, I've added a link to Dankles workaround to the FAQ; it's probably best to solve the problem at the folder-level rather then having mu/mu4e guess those names.
from mu.
For what it worth, users can easily workaround this from mu4e side : use a func to convert imap list to utf8 list on the one side and, on the other side, set up a mu4e completion read func to leverage this. (sorry for the awful below lisp code , but you'll get the point)
(require 'utf7)
(defun pyl/utf7-to-utf8-str-list (utf7-list)
(let* ((iter utf7-list)
(decoded)
(result))
(while (not (eq nil iter))
(setq
decoded (cons (utf7-decode (car iter) t) decoded)
iter (cdr iter)))
(setq result decoded)))
(defun pyl-helm-mu-compl-read (prompt maildirs-list &optional ignore1 ignore2 ignore3)
(let ((utf8-dirs (pyl/utf7-to-utf8-str-list maildirs-list)))
(utf7-encode (helm-comp-read prompt utf8-dirs
:name prompt
:must-match t))))
from mu.
Related Issues (20)
- [mu4e bug] Saved drafts not deleted after send HOT 7
- Encoding issue for some types of emails HOT 8
- [misc] [mu4e] [documentation] Incomplete sentence on section `5.6.2 MIME-part actions` HOT 2
- [mu4e rfe] Adding mailing list commands HOT 1
- Broken `meson setup` command in `README.org`
- [mu4e rfe] Way to jump between fields in compose mode HOT 1
- [misc] [mu4e] [documentation] install instructions for HOT 1
- mu4e-compose-pre-hook not triggering anymore HOT 1
- [mu4e bug] How to silence tip on `user-mail address` HOT 2
- [misc] support a post imapnotify `mu index` while mu4e is running HOT 2
- [mu/mu4e bug] updates made via mu4e not visible to external mu queries anymore HOT 4
- [mu4e rfe] Opening attachments directly in external programs HOT 1
- [mu4e bug] mu loses track of messages marked as (un)read in mu4e HOT 5
- [mu4e bug] Attachments with identical name: mu4e-view-save-attachments can only save one HOT 6
- [RFE] mu4e: option to save sent messages as new HOT 1
- [RFE] mu3e: ability to edit non-draft messages so that the edits synchronize HOT 1
- [mu bug] mu should return the encrypted flag for S/MIME enveloped-data HOT 4
- [mu4e bug] when the captured message's subject is emtpy `mu4e-compose-attach-captured-message` inserts a tag without a value for the description HOT 7
- [mu4e bug] error "Specified window is not displaying the current buffer" HOT 8
- [mu4e bug] "replied" flag is not set after sending a reply HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mu.