encodings.frink

View or download encodings.frink in plain text format


/** This program lists the character encodings supported by your JVM. */

m = callJava["java.nio.charset.Charset", "availableCharsets", []]

// Calling by enumerator; list charsets and their aliases.
for [key, val] = m
{
   println[key]
   for a = val.aliases[]
      println["   $a"]
}


View or download encodings.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 17649 days, 22 hours, 30 minutes ago.