摘要:
最近工作上正好需要进行UTF编码检测,自己写了一个,分享给大家,希望可以帮得上有需要用的朋友 public bool isUtf8(byte[] rawText) { bool result = true; if (rawText == null) { return !result; } int pos = 0; while (pos > bitLen) & 0x01) == 1 && bitLen > 0... 阅读全文
posted @ 2014-02-21 13:56
理查杨哥
阅读(415)
评论(0)
推荐(0)

浙公网安备 33010602011771号