Describe the bug
Long mail subjects written in Japanese sometime produces gibberish, because subject are divided in chunks.
To Reproduce
Make an EML file with subject such as "【要確認】●普通自転車(ノーパンクタイヤ) 再予約通知 2023/11/29 12:00 - 13:00".
open the file with MsgReader.Mime.Message.Load(file).
the Subject property is "【要確認】●普通自転車(ノーパンクタイヤ) 再予約通�� 2023/11/29 12:00 - 13:00"
The subject of the original EML is: =?utf-8?B?44CQ6KaB56K66KqN44CR4peP5pmu6YCa6Ieq6Lui6LuK77yI?=
=?utf-8?B?44OO44O844OR44Oz44Kv44K/44Kk44Ok77yJIOWGjeS6iOe0hOmAmuef?=
=?utf-8?B?pSAyMDIzLzExLzI5IDEyOjAwIC0gMTM6MDA=?=
Each segment can be translated like "【要確認】●普通自転車(", "ノーパンクタイヤ) 再予約通�", "� 2023/11/29 12:00 - 13:00". There are UTF-8 fragments of the character "知" in the end of the second segment and the first of the third segment.
Expected behavior
The Subject should be "【要確認】●普通自転車(ノーパンクタイヤ) 再予約通知 2023/11/29 12:00 - 13:00"
Desktop (please complete the following information):
Describe the bug Long mail subjects written in Japanese sometime produces gibberish, because subject are divided in chunks.
To Reproduce
MsgReader.Mime.Message.Load(file)
.Subject
property is "【要確認】●普通自転車(ノーパンクタイヤ) 再予約通�� 2023/11/29 12:00 - 13:00"The subject of the original EML is: =?utf-8?B?44CQ6KaB56K66KqN44CR4peP5pmu6YCa6Ieq6Lui6LuK77yI?= =?utf-8?B?44OO44O844OR44Oz44Kv44K/44Kk44Ok77yJIOWGjeS6iOe0hOmAmuef?= =?utf-8?B?pSAyMDIzLzExLzI5IDEyOjAwIC0gMTM6MDA=?=
Each segment can be translated like "【要確認】●普通自転車(", "ノーパンクタイヤ) 再予約通�", "� 2023/11/29 12:00 - 13:00". There are UTF-8 fragments of the character "知" in the end of the second segment and the first of the third segment.
Expected behavior The
Subject
should be "【要確認】●普通自転車(ノーパンクタイヤ) 再予約通知 2023/11/29 12:00 - 13:00"Desktop (please complete the following information):
Additional context Using .NET Framework 4.6.2