[英]CasperJS - echo cyrillic symbols
I use echo()
function for output text to stdout. 我使用
echo()
函数将文本输出到stdout。 But instead of the cyrillic characters are displayed incorrect characters. 但是,代替西里尔字母显示的是不正确的字符。 How to fix it?
如何解决?
I found a solution. 我找到了解决方案。 It should run the script with command line parameters:
它应使用命令行参数运行脚本:
--output-encoding=cp866
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.