code: public String getCharset(String defaultCharset)
  	{
  		Parameter charsetParam = param(PARAM_CHARSET);
  		return charsetParam == null || charsetParam.value.length() == 0 ? defaultCharset : charsetParam.value;
  	}
docs: Returns the value of the charset parameter or <code>default</code> if there is no charset parameter.
  
  @return A {@link String} containing the charset.