View Single Post
  #2 (permalink)  
Old February 21st, 2005, 04:14 PM
mehdi62b mehdi62b is offline
Friend of Wrox
Join Date: Jul 2004
Location: Tehran, , Iran.
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post

use StreamReader instead,
StreamReader reader = new StreamReader("source.txt", Encoding);
StreamWriter writer = new StreamWriter("dest.txt",Boolean, Encoding);
give one of the unicode encodings to the constructor.(UTF8 is the default)

software student.
Reply With Quote