code: private static String decode(final CharSequence txt) {
          try {
              return URLDecoder.decode(
                  txt.toString(), Charset.defaultCharset().name()
              );
          } catch (final UnsupportedEncodingException ex) {
              throw new IllegalStateException(ex);
          }
      }
docs: Decode from URL.
  @param txt Text
  @return Decoded