Java StandardCharsets ISO_8859_1

Syntax

StandardCharsets.ISO_8859_1 has the following syntax.

public static final Charset ISO_8859_1

Example

In the following code shows how to use StandardCharsets.ISO_8859_1 field.


/*from w  w w  .  ja va 2  s .  com*/

import java.nio.charset.StandardCharsets;

public class Main {
  public static void main(String[] args) throws Exception {
    System.out.println(StandardCharsets.ISO_8859_1.name());
  }

}




















Home »
  Java Tutorial »
    java.nio.charset »




Charset
CharsetDecoder
CharsetEncoder
StandardCharsets