@Test
public void isCharsetSupported() {

    assertTrue(LocaleUtil.isCharsetSupported("GBK"));
    assertTrue(LocaleUtil.isCharsetSupported("8859_1"));
    assertTrue(LocaleUtil.isCharsetSupported("iso8859_1"));
    assertTrue(LocaleUtil.isCharsetSupported("iso-8859-1"));
    assertFalse(LocaleUtil.isCharsetSupported(null));
    assertFalse(LocaleUtil.isCharsetSupported("hello"));
}