When I log a json very long, and it has some Chinese words or other multi-bytes UTF-8 charset, logcat will show some charset like '???'. So it fixed it, and I found an old issue that have same problem with me, it's #87.
After I fixed it, I found a new bug, if once print with lines too mach, will lost some logs, I thought it's Android System's bug or feature. You can reappear it with run this:
for (int i = 0; i <= 100000; i++) {
Log.println(6, "max limit", i + "");
}
When I log a json very long, and it has some Chinese words or other multi-bytes UTF-8 charset, logcat will show some charset like '???'. So it fixed it, and I found an old issue that have same problem with me, it's #87. After I fixed it, I found a new bug, if once print with lines too mach, will lost some logs, I thought it's Android System's bug or feature. You can reappear it with run this:
Then, it won't print 100000.