private static boolean containsValidEncodings(@NotNull Set<String> encodings) {
    for (String t : encodings) {
      if (ConfigEncodingCharsetUtil.INSTANCE.toCharset(t) == null) {
        return false;
      }
    }
    return true;
  }
private static boolean containsValidEncodings(@NotNull Set<String> encodings)