Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public final class

StandardCharsets

extends Object
java.lang.Object
   ↳ java.nio.charset.StandardCharsets

Class Overview

Convenient access to the most important built-in charsets.

Summary

Fields
public static final Charset ISO_8859_1 The ISO-8859-1 charset.
public static final Charset US_ASCII The US-ASCII charset.
public static final Charset UTF_16 The UTF-16 charset.
public static final Charset UTF_16BE The UTF-16BE (big-endian) charset.
public static final Charset UTF_16LE The UTF-16LE (little-endian) charset.
public static final Charset UTF_8 The UTF-8 charset.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final Charset ISO_8859_1

The ISO-8859-1 charset.

public static final Charset US_ASCII

The US-ASCII charset.

public static final Charset UTF_16

The UTF-16 charset.

public static final Charset UTF_16BE

The UTF-16BE (big-endian) charset.

public static final Charset UTF_16LE

The UTF-16LE (little-endian) charset.

public static final Charset UTF_8

The UTF-8 charset.