需要以下列字节数组开头
final byte[] bom = new byte[] { (byte)0xEF, (byte)0xBB, (byte)0xBF };
参考:
http://www.xuebuyuan.com/1787757.html