Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #87. #252

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix #87. #252

wants to merge 3 commits into from

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.

None yet

1 participant