Encode or decode URL strings using percent-encoding.
A quick overview
URL encoding, also known as percent encoding, turns characters into a%xx
format so they can safely travel in web addresses. For example, a space becomes %20
.
hello world
→hello%20world