dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.41k stars 982 forks source link

RichTextBox Rtf property wrong converting non ascii chars on Win10 with utf8 locale #3247

Open kirsan31 opened 4 years ago

kirsan31 commented 4 years ago

Problem description and Expected behavior: Snipaste_2020-05-09_16-50-25 Note, due to other bug in .net core (3.1.3), RichTextBox Rtf setter always trying to convert input through utf8, and therefor lead to same wrong output.

Minimal repro: Same as in https://github.com/dotnet/winforms/issues/3032

merriemcgaw commented 4 years ago

We will take a look at this more closely when Windows brings the UTF-8 stuff to GA.