charset.core documentation
Details of the methods this namespace encapsulates can be found here:
http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html
aliases
(aliases charset)
Lists the aliases of a Charset returned as a Clojure set
all-charsets
(all-charsets)
Returns all Charsets available for this system as a Clojure map. See for details:
http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html#availableCharsets()
ascii
The ASCII charset object
charset-name
(charset-name charset)
Returns the name of a Charset
decoder
(decoder charset)
Creates a new CharsetDecoder object. See for details:
http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html#newDecoder()
default-charset
Default charset object of this JVM
display-name
(display-name charset)
Returns the display name of a Charset
encode?
(encode? charset)
Tests if this Charset supports encoding.
encoder
(encoder charset)
Creates a new CharsetEncoder object. See for details:
http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html#newEncoder()
get-charset
(get-charset charset-name)
Returns a Charset object for a given name. The name is not
case sensitive. See for details:
http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html#forName(java.lang.String)
iso-latin-1
The ISO Latin-1 charset object
registered?
(registered? charset)
Tells whether or not this Charset is registered in the IANA Charset Registry.
See for details:
http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html#isRegistered()
supported?
(supported? charset-name)
Tests if a charset name is supported. See for details:
http://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html#isSupported(java.lang.String)
utf-16
The UTF-16 charset object
utf-16-be
The UTF-16BE charset object
utf-16-le
The UTF-16LE charset object
utf-8
The UTF-8 charset object