@Override
        protected ContentHandler getContentHandler(OutputStream output, final Metadata metadata) throws Exception {
            final PrintWriter writer = new PrintWriter(getOutputWriter(output, encoding));
            return new NoDocumentXMPMetaHandler(metadata, writer);
        }
Output character encoding, or <code>null</code> for platform default
tika-app/src/main/java/org/apache/tika/cli/TikaCLI.java