Comments (9)
I don't understand, what is the desired action / change in DFeed here? The Unicode characters are correctly encoded and decoded in DFeed as far as I can tell.
from dfeed.
If you mean that you see =?UTF-8?B?R3LDuHN0YWQi?=
in Walter's message, that's because Walter's UA doesn't understand Unicode encoding of headers.
This encoding style is used ONLY in headers. If it is encountered in the message body, it is treated like any other sequence of characters.
from dfeed.
BTW I see no relation to the message's subject here. The subject of the message you linked is "Re: Rant after trying Rust a bit".
from dfeed.
Sorry, I thought it was somehow caused by DFeed inserting the original sender into the reply without unescaping it. But you're right, Walter's using a different user agent which seems to have problems. Or, as someone else has since pointed out, Ola's newsreader wrongly uses quotes and encoded atoms at the same time. Sorry for the noise.
from dfeed.
The original message was sent from DFeed, so headers come from DFeed? The original diagnosis was that the escaped name is incorrectly quoted, which causes Thunderbird to choke on it.
If you don't like the Rust topic, here it is copied:
I'd say it is a problem with the way the web interface encodes the
sender name, and especially the fact that it starts with a double quote.
In the message source, it looks like:
From: "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?=
[email protected]
According to RFC 2047 [1]: "An 'encoded-word' MUST NOT appear within a 'quoted-string'." (top of page 7), so this should be written as:
From: Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?=
[email protected]
Jerome
[1] https://tools.ietf.org/html/rfc2047
from dfeed.
I am away from D stuff so haven't read the entire thread. Can you propose a pull request? The relevant code is in ae.net.ietf.message, encodeRfc1522
function.
from dfeed.
As I understand, it's called like this:
encodeRfc1522(""Ola Fosheim Grøstad" (email)")
Should be called like this:
encodeRfc1522("Ola Fosheim Grøstad (email)")
from dfeed.
- headers["From"] = format(`"%s" <%s>`, author, authorEmail);
+ headers["From"] = format(`%s <%s>`, author, authorEmail);
Something like this.
from dfeed.
Let's try it:
Hopefully this will not cause issues.
from dfeed.
Related Issues (20)
- Posting doesn't go through; "Posting status" page keeps refreshing HOT 2
- stuck unread reply HOT 1
- Forum hyperlink parser doesn't recognize + signs as part of the link
- Markdown formatting mangles pasted code HOT 10
- Markdown tables spuriously fail HOT 4
- identify really old messages you are replying to HOT 9
- Allow specialized markdown header for NNTP posts HOT 37
- corrupted gravatar link HOT 5
- Refresh "read threads" state when navigating back using bfcache HOT 1
- Text not wrapping at browser edge HOT 5
- Private repo activity is showing up in feed
- A button to list all created threads
- Wrong quote nesting as a result of slightly broken markdown syntax HOT 3
- Add moderation complaint email to footer HOT 10
- Lock threads to prevent comments
- IRC link in header is outdated
- Markdown does not support double spaces as a line-break. HOT 3
- Dark theme HOT 3
- Compilation is broken HOT 3
- running locally doesn't work as expected anymore HOT 4
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 dfeed.