Browse Source

导出u8凭证导出乱码

hxh 4 tháng trước cách đây
mục cha
commit
ea6310dbca
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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);
             // 确保所有缓冲的输出都被写出