/src/main/java/org/apache/maven/doxia/DefaultConverter.java
detector.setText ( is ) ;
try (XmlStreamReader reader = new XmlStreamReader(f)) { return reader.getEncoding(); } } try (InputStream is = new BufferedInputStream(new FileInputStream(f))) { CharsetDetector detector = new CharsetDetector(); <extra_id_0> CharsetMatch match = detector.detect(); return match.getName().toUpperCase(Locale.ENGLISH); } } catch (IOException e) { } throw new UnsupportedOperationException(format(