摘要: using System;using System.Collections.Generic;using System.Text;namespace NET.MST.Fourth.StringByte{ class StringByte { static void Main(string[] args) { String s = "我是字符串,I am string"; //字节数组转换到字符串 Byte[] utf8 = StringToByte(s, Encoding.UTF8); Byte[] gb2312 = StringToByte(s, Encoding.GetE 阅读全文
posted @ 2011-05-29 22:29 brainmao 阅读(7585) 评论(0) 推荐(1) 编辑