docs: protected String getContentCharSet(Header contentheader) {
          LOG.trace("enter getContentCharSet( Header contentheader )");
          String charset = null;
          if (contentheader != null) {
              HeaderElement values[] = contentheader.getElements();
              // I expect only one header element to be there
              // No more. no less
              if (values.length == 1) {
                  NameValuePair param = values[0].getParameterByName("charset");
                  if (param != null) {
                      // If I get anything "funny" 
                      // UnsupportedEncondingException will result
                      charset = param.getValue();
                  }
              }
          }
          if (charset == null) {
              charset = getParams().getContentCharset();
              if (LOG.isDebugEnabled()) {
                  LOG.debug("Default charset used: " + charset);
              }
          }
          return charset;
      }