//GB2312或ASCII转UTF8
public static string getUtf8(string param)
{
byte[] buffers = Encoding.GetEncoding(\”GB2312\”).GetBytes(param);
param = Encoding.UTF8.GetString(buffers);
//param = Encoding.UTF8.GetString(Encoding.ASCII.GetBytes(param));
return param;
}