code: public void addCharset(String nioCharsetName, String cloudhopperCharsetName) throws EncodingException {
  		Charset charset = CharsetUtil.map(cloudhopperCharsetName);
  		if (charset != null) {
  			addCharset(nioCharsetName, charset);
  		} else {
  			throw new EncodingException("Invalid cloudhopper charset name : " + cloudhopperCharsetName);
  		}
  	}
docs: Add a charset mapping.
  
  @param nioCharsetName
  Java NIO charset name
  @param cloudhopperCharsetName
  Cloudhopper charset name
  @see CharsetUtil
  @throws EncodingException
  If Cloudhopper charset name is invalid