111,096
社区成员




byte buf[]=System.Text.Encoding.Default.GetBytes(s);//s就是字符串
string str = "測試文本";
byte[] bytes = Encoding.UTF8.GetBytes(str);
byte[] target = new byte[bytes.Length + 1];
bytes.CopyTo(target,0);