Ali Mahmoud

Ali Mahmoud

  • NA
  • 55
  • 0

Wrong output arabic data

Nov 7 2009 11:45 PM
I read data form SQL server which have arabic data , then write it to text file, the arabic data appear ???? in the text file while I use the following code: TextWriter writer = new StreamWriter(path, false, Encoding.GetEncoding("windows-1256")); any suggestion please Note: I can read the arabic data correctly in sql I use c# 2005 and read from sql server 2000

Answers (1)