code: public static CharacterSet createCharacterSet(final String encoding, final String goodExpression, final String badExpression,
  			final String characterSetId) throws UnsupportedEncodingException {
  		if (characterSets.get().containsKey(characterSetId)) {
  			LOG.info("CharacterSet with id=" + characterSetId + " already created");
  			return characterSets.get().get(characterSetId);
  		}
  		CharacterSet cs = new CharacterSet(encoding, goodExpression, badExpression, characterSetId);
  		characterSets.get().put(characterSetId, cs);
  		LOG.info("Added " + cs);
  		return cs;
  	}
docs: Creates a new CharacterSet. If there is already a CharacterSet with the given ID this will be
  returned.