1
Answer

Wrong output arabic data

Ali Mahmoud

Ali Mahmoud

15y
5.7k
1
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)
Next Recommended Forum