瀏覽代碼

导出u8凭证导出乱码

hxh 4 月之前
父節點
當前提交
ea6310dbca
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/custom/restcontroller/sale/cashbill/TxtFactory.java

+ 0 - 3
src/custom/restcontroller/sale/cashbill/TxtFactory.java

@@ -27,9 +27,6 @@ public class TxtFactory {
             PrintWriter out = new PrintWriter(this.filepath, StandardCharsets.UTF_8);
 
 
-            out.write(0xEF);
-            out.write(0xBB);
-            out.write(0xBF);
             // 写入文本
             out.println(str);
             // 确保所有缓冲的输出都被写出