摘要: public string UrlEncode(string txt) { StringBuilder sb = new StringBuilder(); byte[] byStr = System.Text.Encoding.UTF8.GetBytes(txt); //默认是System.Text.Encoding.Default.GetBytes(str) for (int i = 0; i < byStr.Length; i++) { sb.Append(@... 阅读全文
posted @ 2013-01-22 13:00 小さいです哥 阅读(607) 评论(0) 推荐(1)