Java StandardCharsets UTF_16LE

Syntax

StandardCharsets.UTF_16LE has the following syntax.

public static final Charset UTF_16LE

Example

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


/*  www  .  j ava 2s.  c  o m*/
import java.nio.charset.StandardCharsets;

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

}




















Home »
  Java Tutorial »
    java.nio.charset »




Charset
CharsetDecoder
CharsetEncoder
StandardCharsets