C#获取中文英文混合字符串Byte字节长度

System.Text.Encoding.Default.GetByteCount(str); 

posted @ 2012-08-09 17:44  套狗的汉子  阅读(303)  评论(0编辑  收藏  举报