private void flushBuffer() throws UnsupportedEncodingException, SAXException {
        if (tmpPos - outPos >= minSize) {
            outPos = tmpPos - minSize;
        }

        xhtml.characters(new String(output, 0, outPos, "windows-1252"));

        if (tmpPos - outPos >= 0) {
            System.arraycopy(output, outPos, output, 0, tmpPos - outPos);
        }
        tmpPos = tmpPos - outPos;
        outPos = 0;
    }
Flushes the internal output buffer to the content handler.

@throws UnsupportedEncodingException
@throws SAXException
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-text-module/src/main/java/org/apache/tika/parser/strings/Latin1StringsParser.java