The class java.nio.Charset got its name from a term common in Internet circles. Unfortunately, this term itself was poorly chosen. "Charset" seems to denote a character set, but that's not what it stands for. It stands for a combination of a coded character set and a character encoding scheme. Previously, we have used the term "character encoding", and this term still seems more appropriate than "charset".
Charset should be renamed to CharacterEncoding, CharsetEncoder to CharacterEncoder, CharsetDecoder to CharacterDecoder, and CharsetProvider to CharacterEncodingProvider.
Charset should be renamed to CharacterEncoding, CharsetEncoder to CharacterEncoder, CharsetDecoder to CharacterDecoder, and CharsetProvider to CharacterEncodingProvider.