WEBVTT

00:00:00.000 --> 00:00:06.000
Why does a copied website address sometimes contain percent signs?

00:00:06.000 --> 00:00:13.000
Percent encoding represents certain URL characters using encoded byte values.

00:00:13.000 --> 00:00:18.000
Keep the meaning of the URL component intact.
6 URL-encoding basics.

00:00:18.000 --> 00:00:30.000
Recognise the percent pattern
A percent sign followed by two hexadecimal digits represents an encoded byte.
Percent sign · Two hexadecimal digits · Encoded byte

00:00:30.000 --> 00:00:42.000
A space can become %20
Space handling depends on the URL or form-encoding context.
Space character · Percent-encoded space · Encoding context

00:00:42.000 --> 00:00:54.000
Some symbols are separators
Characters such as question marks and ampersands can have structural roles.
URL structure · Reserved symbol · Component meaning

00:00:54.000 --> 00:01:06.000
Encode values appropriately
A value containing a reserved symbol may need encoding within its component.
Individual value · Correct component · Preserved meaning

00:01:06.000 --> 00:01:18.000
Avoid encoding it twice
An already encoded percent sign can be encoded again and change the result.
Original value · Existing encoding · Unexpected double encoding

00:01:18.000 --> 00:01:30.000
Check the resulting link
Use suitable URL tools and verify the page receives the intended value.
Generated address · Expected value · Correct destination

00:01:30.000 --> 00:01:39.000
Your checklist
Recognise the percent pattern · A space can become %20 · Some symbols are separators · Encode values appropriately · Avoid encoding it twice · Check the resulting link

00:01:39.000 --> 00:01:47.000
Use the right URL tools and test the resulting destination.
jerseyweb.je
