@Override
    public boolean shouldEscape(char ch) {
      // Safer this way per http://unicode.org/faq/utf_bom.html#utf8-4
      return Verifier.isHighSurrogate(ch);
    }
@Override
    public boolean shouldEscape(char ch)