I get exception in RtfParser.cs, line 173 codePageStack.Push( encoding == null ? 0 : _encodings[encoding.WebName] );
Exception says: Message "Daný klíč není ve slovníku k dispozici." string (Value with given key is not in dictionary.)
Value of encoding.WebName is encoding.WebName = "Windows-1252", but values in dictionary have lowercase keys! You should make the dictionary key case INsensitive.
I get exception in RtfParser.cs, line 173
codePageStack.Push( encoding == null ? 0 : _encodings[encoding.WebName] );
Exception says: Message "Daný klíč není ve slovníku k dispozici." string (Value with given key is not in dictionary.)
Value of encoding.WebName is
encoding.WebName = "Windows-1252"
, but values in dictionary have lowercase keys! You should make the dictionary key case INsensitive.