50,526
社区成员
发帖
与我相关
我的任务
分享
String operation = System.getProperty("os.name");
operation = operation.toUpperCase(Locale.ENGLISH);
if (operation.indexOf("AIX") != -1) {
try {
System.out.println(new String(outPutInfo.toString().getBytes("GBK"), "ISO8859_1"));
} catch (UnsupportedEncodingException e) {
logger.warn("UnsupportedEncodingException", e);
System.out.println(outPutInfo.toString());
}
} else {
System.out.println(outPutInfo.toString());
}