@Test
public void testCleaningCharsetName() {

    assertEquals("UTF-8", CharsetUtils.clean("utf-8"));
    assertEquals(null, CharsetUtils.clean(""));
    assertEquals(null, CharsetUtils.clean(null));
    assertEquals("US-ASCII", CharsetUtils.clean(" us-ascii  "));
    assertEquals("UTF-8", CharsetUtils.clean("\"utf-8\""));
    assertEquals("ISO-8859-1", CharsetUtils.clean("ISO-8859-1, latin1"));
}