code: public void setCharacterEncoding(String encoding)
      {
          if (this._outputState==0 && !isCommitted())
          {
              _charEncodingSetInContentType=true;
              _httpResponse.setCharacterEncoding(encoding,true);
          }
      }
docs: /* ------------------------------------------------------------