internal static void RectifyXML()
{
string path = @"C:\CodeProject\test.xml";
System.Xml.XmlDocument CXML = new System.Xml.XmlDocument();
CXML.Load(path);
string correctedXMlString = Regex.Replace(CXML.InnerXml, @"[^\u0000-\u007F]", string.Empty);
File.Delete(path);
CXML.LoadXml(correctedXMlString);
CXML.Save(path);
}