Motivation

Document what options exist in Ruby whenever in I want to do Percent-Encoding.

What is Percent Encoding?

  • A. K. A. URL encoding.
  • Used to create URIs (both URLs and URNs).
  • Used to prepare data of the application/x-www-form-urlencoded media type.
  • There is a reserved character set: !*'();:@&=+$,/?#[]

What do we have in the Ruby library?

References

-URI.escape vs CGI::escape