public String decode(byte[] val) {
        return codecs[0].decode(val, 0, val.length);
    }
@Test
    public void testDecodeChinesePersonNameGB18030() {
        assertEquals(CHINESE_PERSON_NAME_GB18030,
                gb18030().decode(CHINESE_PERSON_NAME_GB18030_BYTES));
    }