diff --git a/src/main/java/com/checkpoint/mgmt_api/examples/ShowPackageTool.java b/src/main/java/com/checkpoint/mgmt_api/examples/ShowPackageTool.java index d5e1c31..dc146ee 100644 --- a/src/main/java/com/checkpoint/mgmt_api/examples/ShowPackageTool.java +++ b/src/main/java/com/checkpoint/mgmt_api/examples/ShowPackageTool.java @@ -1506,7 +1506,8 @@ private static boolean writeJsonObjectToFile(JSONObject object, RandomAccessFile if (fileWriter.getFilePointer() > 1) { fileWriter.writeBytes(","); } - fileWriter.writeBytes(object.toJSONString()); + byte[] bytes = object.toJSONString().getBytes("UTF-8"); + fileWriter.write(bytes); } catch (IOException e) { return false; diff --git a/src/main/resources/com/checkpoint/mgmt_api/templates/index.tpl.html b/src/main/resources/com/checkpoint/mgmt_api/templates/index.tpl.html index 5e55438..1678c79 100644 --- a/src/main/resources/com/checkpoint/mgmt_api/templates/index.tpl.html +++ b/src/main/resources/com/checkpoint/mgmt_api/templates/index.tpl.html @@ -1,6 +1,7 @@ + Page Title