You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
There are many calls to getBytes() throughout the entire codebase which do not specify a character encoding. We've always depended on UTF8 being mandatory and default on Android. Maybe one day we'll go through and make them all explicit.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This call to
String.getBytes()
should probably be replaced withgetBytes(StandardCharsets.UTF_8)
orgetBytes(Charset.forName("UTF-8"))
.Thankfully this seems to default to UTF-8 on Android anyway, though it's still worth being explicit: http://stackoverflow.com/questions/2207631/android-default-character-encoding
The text was updated successfully, but these errors were encountered: