Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Use UTF-8 instead of the default charset
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-burns committed Mar 20, 2020
1 parent d68e2ef commit daf0a17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public StdoutTransport(final ISerializer serializer) {

@Override
public TransportResult send(SentryEvent event) throws IOException {
Writer outputStreamWriter = new OutputStreamWriter(System.out, Charset.defaultCharset());
Writer outputStreamWriter = new OutputStreamWriter(System.out, Charset.forName("UTF-8"));
PrintWriter printWriter = new PrintWriter(outputStreamWriter);

serializer.serialize(event, printWriter);
Expand Down

0 comments on commit daf0a17

Please sign in to comment.