Skip to content

Commit 4cac68c

Browse files
authored
Remove ASCII usage
1 parent d8997a6 commit 4cac68c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-app/app/src/debug/java/com/tns/ErrorReport.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ static String getErrorMessage(Throwable ex) {
169169
ex.printStackTrace(ps);
170170

171171
try {
172-
content = baos.toString("US-ASCII");
172+
content = baos.toString("UTF-8");
173173
} catch (UnsupportedEncodingException e) {
174174
content = e.getMessage();
175175
}
@@ -423,4 +423,4 @@ public void onClick(View v) {
423423
return view;
424424
}
425425
}
426-
}
426+
}

0 commit comments

Comments
 (0)