Comments (7)
Emacs is just showing what it gets from the mu-server, it doesn't decode anything in the headers buffer.
Looking in a message (where it's shown as expected, with M-x describe-char
I get:
character: ’ (displayed as ’) (codepoint 8217, #o20031, #x2019)
charset: windows-1252 (WINDOWS-1252 (Latin I))
so the problem seems to be that the original message uses the window-1252 charset, but claimed it was ISO-8859-1:
Subject: =?ISO-8859-1?Q?We=92ve_reconnected_=96_and_next_steps?=
you can see that if you'd change the subject to
Subject: =?WINDOWS-1252?Q?We=92ve_reconnected_=96_and_next_steps?=
it will show correctly (after re-indexing etc.).
from mu.
Now, while it's the message's sender that's misbehaving, that won't help us very much.
mu
can't easily do with gnus mail does (we're bound by GMime), but I'll turn this into an RFE ticket and see if we can find a work-around.
from mu.
Can you attach a message file (anonymized as needed) where this happens? Thanks.
from mu.
The only such email i have is the one i received today, which contains personal health information. i've redacted the bodies (i.e. the two MIME parts) basically in their entirety, and also redacted various bits of header content in a minimal way, hopefully still leaving it usable.
from mu.
Ah, great analysis, thank you. i think i had indeed run describe-char
and noticed that 1252 was mentioned, but it didn't click that this was not what the "Subject" header was claiming ....
Thanks for converting this to an RFE. 👍 i'm going to try emailing postmaster@salesforce about this, which is probably unlikely to result in any change, but at least i'll have tried. 😛
from mu.
It's just come to my attention that the HTML5 spec says that "ISO-8859-1" is to be interpreted as Windows-1252. So presumably what's happening in this email is that it's assumed it will be read in a Web-based client - which, to be fair, is more than likely the case - such that the HTML5 spec is applicable. Which, fwiw, feels incorrect to me: even if the email body contains only a text/html MIME part, the headers are certainly not HTML.
from mu.
I'm moving this to the IDEAS.org
file and close it here shortly... would probably best be solved at the GMime level.
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.