須要如下列字節數組開頭html
final byte[] bom = new byte[] { (byte)0xEF, (byte)0xBB, (byte)0xBF };
參考:數組
http://www.xuebuyuan.com/1787757.htmlspa