code: static String parseCharsetFromContentType(String contentType) {
          final String charsetPrefix = "charset=";
          if (org.apache.commons.lang.StringUtils.contains(contentType, charsetPrefix)) {
              String charsetName = org.apache.commons.lang.StringUtils.substringAfter(contentType, charsetPrefix);
              return org.apache.commons.lang.StringUtils.substringBefore(charsetName, ";");
          } else {
              return Citrus.CITRUS_FILE_ENCODING;
          }
      }
docs: Parses the charset definition from a "Content-Type" header value, e.g. text/plain; charset=UTF-8, and returns it exclusively.
  @param contentType 'Content-Type' header value as String
  @return a charset information parsed from the Content-Type, or {@link Citrus#CITRUS_FILE_ENCODING} as default if there is no charset definition