File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/src/debug/java/com/tns
runtime/src/main/java/com/tns Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ static String getErrorMessage(Throwable ex) {
169
169
ex .printStackTrace (ps );
170
170
171
171
try {
172
- content = baos .toString ("US-ASCII " );
172
+ content = baos .toString ("UTF-8 " );
173
173
} catch (UnsupportedEncodingException e ) {
174
174
content = e .getMessage ();
175
175
}
@@ -423,4 +423,4 @@ public void onClick(View v) {
423
423
return view ;
424
424
}
425
425
}
426
- }
426
+ }
Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ public static String getStackTraceErrorMessage(Throwable ex) {
292
292
ex .printStackTrace (ps );
293
293
294
294
try {
295
- content = baos .toString ("US-ASCII " );
295
+ content = baos .toString ("UTF-8 " );
296
296
String jsStackTrace = Runtime .getJSStackTrace (ex );
297
297
if (jsStackTrace != null ) {
298
298
content = getStackTraceOnly (content );
You can’t perform that action at this time.
0 commit comments