-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support decode 'utf8' (no dash) #13
Support decode 'utf8' (no dash) #13
Conversation
Thanks, this is great! The RFC notes that any encoding can be specified in the header and only makes the two we support a MUST. But, ideally the RFC specifies that it SHOULD only be registered charsets, which utf8 is not a registered charset (registrations: https://www.iana.org/assignments/character-sets/character-sets.xhtml). That doesn't mean we can't add this, but before doing so would like to scrutinize it to make sure we are making the right decision here. Can you provide any details for where you ran into this use? |
I ran into this when downloading files from
I was surprised as well. |
Awesome information, @alexstrat ! I'll get a new version published tonight (US) 👍 |
I've also been looking at other implementations and here is a running list of the results so far:
|
Another POV: should |
I think this is a great discussion and it would be a shame if it were to get either (a) lost as soon as this PR is merged & closed or (b) caused a derailment delaying the merge of the PR. I would suggest opening a new issue raising this point. Some ideas on starting talking questions: (a) what specifically would be considered a recoverable parse failure vs an unrecoverable failure (b) when should be returned when the various different recoverable failures occur (c) how can we keep in tact a strict mode for any users who would want a complete failure (d) what, if any, guidance does the RFC have on this. |
Definitely! 👍 Opened #14 |
Sorry, forgot this PR; your post on the other issue reminded me I never merged it 😢 I'll get an update to match Chrome's behavior, which would work here as well. |
FYI: I reported the incorrect filename*=utf8 parameter problem to slack, and they fixed in 2 days. I'm surprised that it looks like no one reports the problem to slack before, and they fixed their server in such a short time. |
cd477e5
to
c1b0deb
Compare
Hey, I am going through all the direct deps of |
definitely. take for example, the second parameter of |
If @alexstrat wants to resolve the conflicts I can land this cleanly, otherwise I can take care of it (likely tomorrow or next week depending on my availability). |
Please go ahead, I won’t be able to do it. 🙏 |
7c8607c
to
7684ead
Compare
7684ead
to
028b4fc
Compare
I stumbled upon a field using
utf8
(noutf-8
) as encoding.