Programming for Everybody: Arabic Characters are not recognized when exporting gridview to Excel and Word asp.net (Vb.net,c#))

Arabic Characters are not recognized when exporting gridview to Excel and Word asp.net (Vb.net,c#))

C#
Response.ContentEncoding = System.Text.Encoding.Unicode;
Response.BinaryWrite(System.Text.Encoding.Unicode.GetPreamble());
VB.net

Response.ContentEncoding = System.Text.Encoding.Unicode
Response.BinaryWrite(System.Text.Encoding.Unicode.GetPreamble())

No comments:

Post a Comment