Converting Unicode strings to escaped ascii string
- by Ali
How can I convert this string:
This string contains the unicode character Pi(p)
into an escaped ascii string:
This string contains the unicode character Pi(\u03a0)
and vice versa ?
The current Encoding available in C#, converts the p character into "?". I need to preserve that character.