Class Charsets


  • @GwtCompatible(emulated=true)
    public final class Charsets
    extends Object
    Contains constant definitions for the six standard Charset instances, which are guaranteed to be supported by all Java platform implementations.

    Assuming you're free to choose, note that UTF_8 is widely preferred.

    See the Guava User Guide article on Charsets.

    Since:
    1.0
    Author:
    Mike Bostock