RTEditor/src/main/java/com/onegravity/rteditor/converter/tagsoup/HTMLWriter.java
@Override
    public void characters(char ch[], int start, int len) throws SAXException {
        if (!cdataElement) {
            if (mIgnoreChars) {
                writeText4Links();
                writeEscUTF16(new String(ch), start, len, false);
            } else {
                collectText4Links(ch, start, len);
            }
        } else {
            writeText4Links();
            for (int i = start; i < start + len; i++) {
                write(ch[i]);
            }
        }

        super.characters(ch, start, len);
    }
@Override
    public void characters(char ch[], int start, int len) throws SAXException {
        if (!cdataElement) {
            if (mIgnoreChars) {
                writeText4Links();
                writeEscUTF16(new String(ch), start, len, false);
            } else {
                collectText4Links(ch, start, len);
            }
        } else {
            writeText4Links();
            for (int i = start; i < start + len; i++) {
                write(ch[i]);
            }
        }

        super.characters(ch, start, len);
    }
Write character data.
<p>
Pass the event on down the filter chain for further processing.

@param ch     The array of characters to write.
@param start  The starting position in the array.
@param length The number of characters to write.
@throws org.xml.sax.SAXException If there is an error writing the characters, or if a
handler further down the filter chain raises an exception.
@see org.xml.sax.ContentHandler#characters