Migrate from Charsets to StandardCharsets.
#11482
Merged
Charsets to StandardCharsets.
#11482