mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: script processor support cmd and powershel by fddc
This commit is contained in:
parent
45f7b17e14
commit
483227f840
@ -22,6 +22,6 @@ public class CMDProcessor extends AbstractScriptProcessor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Charset getCharset() {
|
protected Charset getCharset() {
|
||||||
return Charset.forName("GBK");
|
return Charset.defaultCharset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -22,6 +22,6 @@ public class PowerShellProcessor extends AbstractScriptProcessor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Charset getCharset() {
|
protected Charset getCharset() {
|
||||||
return Charset.forName("GBK");
|
return Charset.defaultCharset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user