Showing posts with label XML. Show all posts
Tuesday, October 16, 2012
Removing bom ‘  ‘ from file c#
UTF8Encoding utf8WithoutBom = new UTF8Encoding(false);
using (TextWriter writer = new StreamWriter(outputpath,false,utf8WithoutBom))
{
newDoc.Save(writer);
}
Subscribe to:
Posts
(
Atom
)