public static Charset detect(File file, Charset... charsets) {
		return detect(FileUtil.getInputStream(file), charsets);
	}
@Test
	@Disabled
	public void issue2547() {
		final Charset detect = CharsetDetector.detect(IoUtil.DEFAULT_LARGE_BUFFER_SIZE,
				ResourceUtil.getStream("d:/test/default.txt"));
		assertEquals(CharsetUtil.CHARSET_UTF_8, detect);
	}