RichTextBox: Copy to Clipboard throws NotSupportedException #579
Labels
Bug
Product bug (most likely)
regression
status: This issue is a regression from a previous build or release
Milestone
Copy to Clipboard (e.g. press Ctrl+C) within the RichTextBox throws a NotSupportedException with the message:
No data is available for encoding 1252. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method.
Reproduce:
System.Waf.sln
in VS 2019.Samples/Writer/Writer.Presentation
as start-up projectExpected: The selected text should be copied to the Clipboard. You could compare this with the master branch (targets .NET 4.6.1)
Actual: The application crashes.
Related issue: I get the same exception when I try to save the RichTextBox content as RTF file. Just press Save in the Writer application.
Details: Copy to Clipboard throws the exception:
The text was updated successfully, but these errors were encountered: