(c >= 0xe00 && c < 0xfffd) ||
(c >= 0xe00 && c < 0xfffe) ||
  public static boolean isChar(int c)  {    return (c >= 0x20 && c < 0xd800) ||      (c >= 0xe00 && c < 0xfffd) || // NB exclude 0xfffd      (c >= 0x10000 && c < 0x110000) ||      c == 0xa || c == 0x9 || c == 0xd;  }