void () { assertEquals("UTF-8", AbstractExternalFilter.parseContentEncoding(validUtf8Example)); assertEquals("utf-8", AbstractExternalFilter.parseContentEncoding(chineseFlexDocExample)); assertNull(AbstractExternalFilter.parseContentEncoding(brokenExample)); assertEquals("UTF-8", AbstractExternalFilter.parseContentEncoding(confluenceExample)); assertEquals("windows-1251", AbstractExternalFilter.parseContentEncoding(win1251Example)); }