Skip to content

Conversation

@michaellee123
Copy link

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 + "");
}

Then, it won't print 100000.

…calc offset. Support Chinese words and Emoji or more UTF-8 charset.

2.Add unit test in sample, about Zhuge Kongming's <Chu Shi Biao> and much emoji.
@michaellee123
Copy link
Author

@orhanobut

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant