title: Save Chinese, Arabic, English etc characters in file
body: <p>I have a file which contains english, chinese and arabic characters. Now when I read text of this file in a string all the text shows properly but when I again save that code to other file, it removes all my english and arabic characters and only left part is english characters.</p>
  
  <p>I am using below code to read file</p>
  
  <pre><code>string content = File.ReadAllText(Server.MapPath("myfile1.xml"));
  </code></pre>
  
  <p>Below code I am using to write it to another file</p>
  
  <pre><code>File.WriteAllText(Server.MapPath(myfile2.xml), content);
  </code></pre>
  
  <p>When I open myfile2.xml in visual studio it does not shows chinese and arabic characters but in myfile1.xml it does. Even if I copies content of myfile1.xml to myfile2.xml then also myfile2.xml shows all the characters.</p>
  
  <p>I don't know why this is not working if I do it using the above code.</p>