System.Text.Encoding encoding = new UTF8Encoding();
string str = encoding.GetString(...);
//处理 str
byte_array = encoding.GetBytes(...);
string str = encoding.GetString(...);
//处理 str
byte_array = encoding.GetBytes(...);
{
str = str.Replace("&","+");
return System.Text.Encoding.UTF7.GetString(System.Text.Encoding.ASCII.GetBytes(str));
}
请各位看一下 http://0926.net/archive/sms.htm 下的 短消息编码 部分
它的例子 是 "Hello!" 对应 "C8329BFD0E01" 现在如我得到的是 "C8329BFD0E01" 我怎么转换
成"Hello!" 出来 谢谢各位!!!