encodings.frink

Download or view 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"]
}


Download or view 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 20194 days, 7 hours, 37 minutes ago.