(Postman)newman使用参数--disable unicode输出unicode

(Postman)newman使用参数--disable unicode输出unicode,unicode,postman,newman,Unicode,Postman,Newman,我想为newman输出禁用unicode。我读过纽曼的文档,上面说要使用——禁用unicode 纽曼版本:3.9.4 --禁用unicode 指定是否强制使用unicode禁用选项。提供时,输出中的所有符号将替换为它们的纯文本等价物 命令: newman run "ACSF_PE.postman_collection.json" --global-var "HEROKU_APP_NAME=myapp" --global-var "HEROKU_API_TOKEN=********" -r cli

我想为newman输出禁用unicode。我读过纽曼的文档,上面说要使用——禁用unicode

纽曼版本:3.9.4

--禁用unicode 指定是否强制使用unicode禁用选项。提供时,输出中的所有符号将替换为它们的纯文本等价物

命令:

newman run "ACSF_PE.postman_collection.json" --global-var "HEROKU_APP_NAME=myapp" --global-var "HEROKU_API_TOKEN=********" -r cli,junit,text --disable-unicode --reporter-junit-export Test-Results.xml --reporter-text-export Test-Results.txt
首先,我使用了不带--disable unicode参数的命令,但是我添加了参数,并且输出没有改变,它完全相同

输出:

newman run "ACSF_PE.postman_collection.json" --global-var "HEROKU_APP_NAME=myapp" --global-var "HEROKU_API_TOKEN=********" -r cli,junit,text --disable-unicode --reporter-junit-export Test-Results.xml --reporter-text-export Test-Results.txt

注意:保存此帖子时不会显示输出unicode字符解决方案: 添加参数--no color

设置--color off在我的案例中有效