code: private static String decodeAttribute(String s, Charset charset) {
          try {
              return QueryStringDecoder.decodeComponent(s, charset);
          } catch (IllegalArgumentException e) {
              throw new ErrorDataDecoderException("Bad string: '" + s + '\'', e);
          }
      }
docs: Decode component
  
  @return the decoded component