Sunday, November 4, 2007

JAVA char set UTF-7

content from : http://www.freeutils.net/source/jcharset/

What is the Java Charset package?
The Java Charset package is an open-source implementation of character sets that were missing from the standard Java platform.
How do I use the Java Charset package?
The Java Charset package is written in pure Java, and thus requires no special installation. Just add the "jcharset.jar" file to your classpath, or place it in any of the usual extension directories.
The JVM will recognize the supported character sets automatically, and they will be available anywhere character sets are used in the Java platform.
As an example, you can take a look at java.lang.String's constructor and getBytes() method, both of which have an overloaded version that receives a charset name as an argument.