delimScanner.skip(cursor);
buf.clear();
delimScanner.scan(cursor, buf);
wsScanner.skip(cursor);
if (cursor.current() == '=' && buf.toString().equals("charset")) {
delimScanner.skip(cursor);
buf.clear();
delimScanner.scan(cursor, buf);
if (buf.length() > 0) {
output.setAttribute("encoding", Encoding.getMimeName(buf.toString()));