G
Guest
I get a byte array (byte[]) as a e-mail from pop3 server. I want to see the
Turkish characters like (ş,Ş,ü,Ü, etc.).
When i use
System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
string str = enc.GetString(msg);
i can not see special Turkish characters. So i prefer to use
System.Text.UnicodeEncoding enc0 = new System.Text.UnicodeEncoding();
string str0 = enc0.GetString(msg);
but then i only see an array of smal "squares". Then i tried to use,
System.Text.UTF32Encoding enc2 = new System.Text.UTF32Encoding();
string str2 = enc2.GetString(msg);
and then i get an emtpy string "str2". I am not sure whether these special
Turkish characters are defined in UTF-32 or not.
How can i get special Turkish charecters?
Thanks a lot.....
Turkish characters like (ş,Ş,ü,Ü, etc.).
When i use
System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
string str = enc.GetString(msg);
i can not see special Turkish characters. So i prefer to use
System.Text.UnicodeEncoding enc0 = new System.Text.UnicodeEncoding();
string str0 = enc0.GetString(msg);
but then i only see an array of smal "squares". Then i tried to use,
System.Text.UTF32Encoding enc2 = new System.Text.UTF32Encoding();
string str2 = enc2.GetString(msg);
and then i get an emtpy string "str2". I am not sure whether these special
Turkish characters are defined in UTF-32 or not.
How can i get special Turkish charecters?
Thanks a lot.....