Charset cs = Charset.forName("x-ibm-16684_P110-2003");
Charset cs = Charset.forName("GB_2312-80");
    public void TestEncoderCreation(){        try{            Charset cs = Charset.forName("x-ibm-16684_P110-2003");            CharsetEncoder enc = cs.newEncoder();            if(enc!=null){                logln("Successfully created the encoder");            }        }catch(Exception e){            errln("Error creating charset encoder."+ e.toString());            e.printStackTrace();        }        try{            Charset cs = Charset.forName("x-ibm-971_P100-1995");            CharsetEncoder enc = cs.newEncoder();            if(enc!=null){                logln("Successfully created the encoder");            }        }catch(Exception e){            errln("Error creating charset encoder."+ e.toString());        }    }