How is it calculated?
Only certain characters may be used in addresses. Others are converted to %XX using their UTF-8 bytes: a space becomes %20, é becomes %C3%A9.
Example
"café" → caf%C3%A9
Turn special characters and spaces in a link into codes like %20, or decode them.
Only certain characters may be used in addresses. Others are converted to %XX using their UTF-8 bytes: a space becomes %20, é becomes %C3%A9.
"café" → caf%C3%A9