We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 668f42d commit d34e408Copy full SHA for d34e408
2 files changed
Source/RtfDomParser/RTFDomDocument.cs
@@ -25,6 +25,8 @@ namespace RtfDomParser
25
/// </remarks>
26
public partial class RTFDomDocument : RTFDomElement
27
{
28
+ static RTFDomDocument() => Defaults.LoadEncodings();
29
+
30
/// <summary>
31
/// initialize instance
32
/// </summary>
Source/RtfDomParser/RTFWriter.cs
@@ -10,6 +10,7 @@
10
11
12
using System;
13
+using System.Text;
14
15
namespace RtfDomParser
16
@@ -48,6 +49,7 @@ internal static void TestClipboard()
48
49
System.Windows.Forms.Clipboard.SetDataObject( data , true );
50
System.Windows.Forms.MessageBox.Show("OK, you can paste words in MS Word.");
51
}
52
+ static RTFWriter() => Defaults.LoadEncodings();
53
54
55
/// Test to generate a little rtf document
0 commit comments