CharSets available on your machine

Main.java:

import java.nio.charset.*;
import java.util.*;
 
public class Main
{
   public static void main(String []args) {
      SortedMap charsets = Charset.availableCharsets();
 
      Collection c = charsets.values();
      Iterator charsetIterator = c.iterator();
      while (charsetIterator.hasNext()) {
         Charset charset = (Charset) charsetIterator.next();         
         System.out.println(charset + " with aliases:");
 
         Set aliases = charset.aliases();
         Iterator aliasIterator = aliases.iterator();
         while (aliasIterator.hasNext()) {
            String alias = (String) aliasIterator.next();
            System.out.println("t" + alias);
         }
         System.out.println();
      }
   }
}

outputs on my Win2000 machine:

ISO-8859-1 with aliases:
	ISO_8859-1:1987
	ISO8859_1
	8859_1
	iso-ir-100
	cp819
	ISO_8859_1
	ISO8859-1
	latin1
	IBM819
	IBM-819
	l1
	ISO_8859-1
	csISOLatin1
	819

ISO-8859-15 with aliases:
	8859_15
	923
	LATIN9
	ISO_8859-15
	ISO8859_15_FDIS
	cp923
	L9
	LATIN0
	csISOlatin9
	ISO8859-15
	IBM923
	ISO-8859-15
	IBM-923
	csISOlatin0

US-ASCII with aliases:
	us
	ISO_646.irv:1991
	ANSI_X3.4-1968
	iso-ir-6
	646
	ISO646-US
	cp367
	ANSI_X3.4-1986
	csASCII
	ASCII
	iso_646.irv:1983
	IBM367

UTF-16 with aliases:
	UTF_16

UTF-16BE with aliases:
	X-UTF-16BE
	ISO-10646-UCS-2
	UTF_16BE

UTF-16LE with aliases:
	UTF_16LE
	X-UTF-16LE

UTF-8 with aliases:
	UTF8

windows-1252 with aliases:
	cp1252