bat运行正常,但是放到BAT to exe,就不行了 乱码 求助下。chcp 65001 936都试了
BAT测试:
-----
Active code page: 65001
c:\ProgramData\gz>curl -X POST -H "Content-Type:test/json" -d "{\"SN\":\"T8400P2020350AB6\",\"
1>>1.TXT
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 317 100 249 100 68 5928 1619 --:--:-- --:--:-- --:--:-- 7925
c:\ProgramData\gz>echo FAIL
FAIL
msg":"流程错误1,当前站位STOCKIN","res
Press any key to continue . . .
BAT TO EXE----
Active code page: 65001
c:\ProgramData\gz>curl -X POST -H "Content-Type:test/json" -d "{\"SN\":\"T8
020350AB6\",\"action\":\"Save2NextStation\",\"Station\":\"TN\"}" "http://19
.1.234/api/mes.php" 1>>1.TXT
% Total % Received % Xferd Average Speed Time Time Time Cur
Dload Upload Total Spent Left Spe
100 317 100 249 100 68 6384 1743 --:--:-- --:--:-- --:--:-- 8