string s=""; byte[] buffer= Encoding.GetEncoding( "GBK ").GetBytes(S); Text =Encoding.UTF8.GetString(buffer);