Converting Unicode strings to escaped ascii string

Posted by Ali on Stack Overflow See other posts from Stack Overflow or by Ali
Published on 2009-10-23T19:53:28Z Indexed on 2010/04/01 1:53 UTC
Read the original article Hit count: 422

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about c#

Related posts about unicode