Skip to content

Commit

Permalink
[Fix] set UTF-8 as default encoding of text area
Browse files Browse the repository at this point in the history
  • Loading branch information
funa-tk committed Oct 2, 2019
1 parent 5084d13 commit 23bf7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/core/packetproxy/gui/RawTextPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ public void setData(byte[] data) throws Exception {
init_count = 0;
prev_text_panel = "";
raw_data.reset(data);
setText(new String(data));
setText(new String(data, "UTF-8"));
undo_manager.discardAllEdits();
}

Expand Down

0 comments on commit 23bf7bd

Please sign in to comment.