code: boolean isAccepted(final String name) {
          for (String str : charsets) {
              if (str.equalsIgnoreCase(name)) {
                  return true;
              }
          }
          return false;
      }
docs: Determines whether or not the specified charset is supported.
  
  @param name encoding name
  @result {@code true} if the encoding is accepted, {@code false}
  otherwise