1.1) Data Encoding Basics

first we will talk about data encoding

1.1.1) Dissecting Encoding Types

Untitled

as we see in the previous photo we have 4 main types of encoding

  1. URL encoding

  2. HTML encoding

  3. Base (36 | 64) encoding

  4. Unicode encoding

1.1.1.1) URL Encoding

we use URL encoding because if unsafe characters present in a URL the encoding them is required

to encode them we place % sign followed by the hex of the representing the numeric value if the character

Untitled

the next table will show the characters needs to be encoded

Untitled

now showing the commonly encoded characters

Untitled

1.1.1.2) HTML Encoding