Java Charset get available charset values

Description

Java Charset get available charset values

import java.nio.charset.Charset;
import java.util.Map;

public class Main {
  public static void main(String[] args) {
    Map<String, Charset> map = Charset.availableCharsets();

    System.out.println(map);//from   w w  w .  j  a  va2  s. c  o m

  }
}



PreviousNext

Related