dotnet / dotnet/winforms

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

Open
#3,247 1 comment 0 reactions 0 assignees View on GitHub
area-controls-RichEdit
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

* .NET Core Version: **3.1.3**

* Have you experienced this same bug with .NET Framework?: **Yes**

**Problem description and Expected behavior:**
![Snipaste_2020-05-09_16-50-25](https://user-images.githubusercontent.com/17767561/81475488-3a66b700-9215-11ea-9ecc-13d06057c85a.png)
Note, due to other [bug](https://github.com/dotnet/winforms/issues/3032) 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](https://github.com/dotnet/winforms/files/4420952/WinFormsCoreTest2.zip) as in https://github.com/dotnet/winforms/issues/3032

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.