Follow me on Twitter RSS FEED

 issue in c#

Posted in
Code to remove Â in C#
Mostly occurs while working with html document file.
Best option is to replace all occurrences of this character.

  html = Regex.Replace(html, "[^\u0000-\u007F]", " ");//for space
  html = Regex.Replace(html, "[^\u0000-\u007F]", string.Empty);//for empty string

0 comments:

Post a Comment