convert charset
This commit is contained in:
parent
99fedaaca7
commit
dcf99913a8
@ -81,6 +81,8 @@ class childProcess {
|
||||
});
|
||||
// 监听程序得输出事件
|
||||
me.childprocess.stdout.on('data', function (data) {
|
||||
// convert charset
|
||||
data = iconv.decode(data.toString(), 'gbk');
|
||||
var result = null;
|
||||
var json = '';
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user