docs: public void setCharset(Charset charset)
      {
          mutationCheck();
          if (charset == null
              || charset.equals(ASCII)
              || charset.equals(UTF8))
          {
              myCharset = charset;
          }
          else
          {
              throw new IllegalArgumentException("Unsupported Charset "
                                                 + charset);
          }
      }