Closed bloodyroll closed 7 years ago
This suggests the problem is that your .net core installation does not include the proper text encodings. There's nothing MimeKit can do about that.
To test my theory, write a simple test program that tries to get a cyrilic encoding such as koi8-r:
var encoding = System.Text.Encoding.GetEncoding ("koi8-r");
My bet is that you'll get an exception.
thank you for help. Need to install System.Text.Encoding.CodePages package and add:
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
Thanks for the update, that will likely be helpful to others that run into this issue on .NET Core :)
Hi! I am trying to retrieve messages with Pop3Client. In .net core console application there is a problem with cyrillic symbols in MimeMessage objects. Results of last 10 message subjects in console (with Console.OutputEncoding = Encoding.Unicode;):
The same code result data in .net framework 4.5.2 console app:
Method code is the same: