change chartset from Code
You can use Like this Code
private string ConvertUnicode(string Str)
{
Encoding latinEncoding = Encoding.GetEncoding("Windows-1252");
Encoding ArabicEncoding = Encoding.GetEncoding("Windows-1256");
byte[] latinBytes = latinEncoding.GetBytes(Str);
return ArabicEncoding.GetString(latinBytes);
}
Comments
Post a Comment