Skip to content

Commit 810dcb1

Browse files
committed
Avoid default encoding.
1 parent 40e57d6 commit 810dcb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

byte-buddy-agent/src/main/java/net/bytebuddy/agent/Attacher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static void main(String[] args) {
6666
try {
6767
String property = System.getProperty(DUMP_PROPERTY);
6868
if (property != null && property.length() > 0) {
69-
PrintStream outputStream = new PrintStream(new FileOutputStream(property));
69+
PrintStream outputStream = new PrintStream(new FileOutputStream(property, true), false, "UTF-8");
7070
try {
7171
throwable.printStackTrace(outputStream);
7272
} finally {

0 commit comments

Comments
 (0)