-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
header is incorrected when it's quoted printable unicode #923
Comments
The reason you are having problems is because the charset name The problem is that .NET maps |
is there a way to change the behavior? since at the moment we only use it with outlook which will somehow return these as a header? Edit: I already tought that something like this was the case, because in Outlook for Windows it's correct, but in most other clients it prints chinese characters... sadly there is no way to have a way to convert the msg to a correct eml. |
Just forced the alias mapping. Hopefully I'm not breaking anyone but I suspect that UTF-16* is rare in email (I've never seen it personally) and so that "unicode" is more likely to map to UTF-8 than UTF-16. |
maybe if it breaks stuff, there could be a flag, because https://learn.microsoft.com/de-de/office/client-developer/outlook/mapi/iconvertersession-mapitomimestm will always use unicode, besides that the original header is |
Describe the bug
hello we have a vsto plugin where we convert our mail via a Mapi conversion directly in outlook and than we feed the message to MimeKit, however the message than contains a header like:
Subject: =?unicode?Q?Test?=
however the subject is now completly incorrect and it will print chinese letters, if I change it to=?utf-8?Q?Test?=
it will work.I'm still not sure if we are using it wrong, however there is just no way to get the correct charset
Platform (please complete the following information):
Expected behavior
correctly parse the header as valid characters.
we basically only do the following:
Test E-Mail:
it's probably a outlook bug, that it encodes that not in a correct rfc style, but maybe I'm overseeing some things which would make this work
The text was updated successfully, but these errors were encountered: