Skip to content

Commit

Permalink
Merge pull request #13 from chkp-maxcalderon/master
Browse files Browse the repository at this point in the history
Show all kind of characters in html output views
  • Loading branch information
chkp-yaelg authored May 6, 2019
2 parents d7a7612 + 52ad01f commit 4e238bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
<style>
body {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
<style>
body {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page Title</title>
<style>
body {
Expand Down

0 comments on commit 4e238bb

Please sign in to comment.