Skip to content

Commit

Permalink
Avoid default encoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Dec 9, 2022
1 parent 40e57d6 commit 810dcb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static void main(String[] args) {
try {
String property = System.getProperty(DUMP_PROPERTY);
if (property != null && property.length() > 0) {
PrintStream outputStream = new PrintStream(new FileOutputStream(property));
PrintStream outputStream = new PrintStream(new FileOutputStream(property, true), false, "UTF-8");
try {
throwable.printStackTrace(outputStream);
} finally {
Expand Down

0 comments on commit 810dcb1

Please sign in to comment.