Output RTF special characters to Unicode
c#, rtf, unicode
Solution
any of the following should help:
- Rich Text Format (RTF) Specification, version 1.6, Special Characters. according to this, `\'d3\'d6` are hexadecimal value[s], based on the specified character set. so you could write your own processing function, like splitting the the string at `\'`s, converting hex to char, rejoining it, converting to unicode.
- How to: Convert RTF to Plain Text
- NRTFTree - A class library for RTF processing in C#
- Questions on SO tagged rtf and c#
- Google search "rtf c#"
Problem
I have been looking around ocn Google and Stackoverflow but haven't found what I needed, but my question seems quite simple. Anyhow; What is the way to convert a string of RTF special characters such as "\'d3\'d6" (In this case Russian) to unicode chars or string using C#?