Skip to content
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

Quoted printable decoding is not correct in a few cases #48

Open
devconcept opened this issue Apr 26, 2019 · 4 comments
Open

Quoted printable decoding is not correct in a few cases #48

devconcept opened this issue Apr 26, 2019 · 4 comments

Comments

@devconcept
Copy link

If you decode this sequence

=E2=80=A6

You should get this character "…"

Instead you get "�"

Which is obviously not the right output. I succeeded in converting it using decodeURIComponent(escape(input)) but this options doesn't work all the time because, I think, should only be applied in some cases.

What I am missing here?

@devconcept
Copy link
Author

This sequence decodes with errors too

=C2=B7

You should get "·" and instead you get "·"

@nifgraup
Copy link
Contributor

nifgraup commented Jun 7, 2019

The Content-Type of your mime part is missing, should be something like text/plain; charset=utf-8

@devconcept
Copy link
Author

It is utf-8 and it doesn't work

@felixhammerl
Copy link
Contributor

Can you provide the full MIME node?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants