Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

XElement Save Adds Leading Charachters

$
0
0

Dear Experts,

XElement objEl =XElement.Load(Filename);objEl.Save(Filename);

after the file is saved the saved file have these 3 characters ∩╗┐ , ascii vales[239,187,191]  

why these 3 charachteres are added on file save ?

this charachters are not visible in notepad, but if file is opened in EDIt.com then only they can be seen.

trouble is that if i submit this file to our Excise (TAX) Department for whom it is generated it gets rejected and certainly why this unknown addition to file is there ?


Viewing all articles
Browse latest Browse all 935

Trending Articles