What is Url encoding?&How encoding process works?
reflink: https://encodestring.com/url-encode/
Like i said earlier, all character does not require encoding. You can simply see which character require encoding or not through this table.
| Dec | Hex | Enc | Char | Description |
|---|---|---|---|---|
| 0 | 00 | ^@ | Null (NUL) | |
| 1 | 01 | ^A | Start of heading (SOH) | |
| 2 | 02 | ^B | Start of text (STX) | |
| 3 | 03 | ^C | End of text (ETX) | |
| 4 | 04 | ^D | End of transmission (EOT) | |
| 5 | 05 | ^E | Enquiry (ENQ) | |
| 6 | 06 | ^F | Acknowledge (ACK) | |
| 7 | 07 | ^G | Bell (BEL) | |
| 8 | 08 | ^H | Backspace (BS) | |
| 9 | 09 | ^I | Horizontal tab (HT) | |
| 10 | 0A | ^J | Line feed (LF) | |
| 11 | 0B | ^K | Vertical tab (VT) | |
| 12 | 0C | ^L | New page/form feed (FF) | |
| 13 | 0D | ^M | Carriage return (CR) | |
| 14 | 0E | ^N | Shift out (SO) | |
| 15 | 0F | ^O | Shift in (SI) | |
| 16 | 10 | ^P | Data link escape (DLE) | |
| 17 | 11 | ^Q | Device control 1 (DC1) | |
| 18 | 12 | ^R | Device control 2 (DC2) | |
| 19 | 13 | ^S | Device control 3 (DC3) | |
| 20 | 14 | ^T | Device control 4 (DC4) | |
| 21 | 15 | ^U | Negative acknowledge (NAK) | |
| 22 | 16 | ^V | Synchronous idle (SYN) | |
| 23 | 17 | ^W | End of transmission block (ETB) | |
| 24 | 18 | ^X | Cancel (CAN) | |
| 25 | 19 | ^Y | End of medium (EM) | |
| 26 | 1A | ^Z | Substitute (SUB) | |
| 27 | 1B | ^[ | Escape (ESC) | |
| 28 | 1C | ^\ | File separator (FS) | |
| 29 | 1D | ^] | Group separator (GS) | |
| 30 | 1E | ^^ | Record separator (RS) | |
| 31 | 1F | ^_ | Unit separator (US) | |
| 32 | 20 | %20 | Space | |
| 33 | 21 | %21 | ! | Exclamation mark |
| 34 | 22 | %22 | “ | Quotation mark/Double quote |
| 35 | 23 | %23 | # | Number sign |
| 36 | 24 | %24 | $ | Dollar sign |
| 37 | 25 | %25 | % | Percent sign |
| 38 | 26 | %26 | & | Ampersand |
| 39 | 27 | %27 | ‘ | Apostrophe/Single quote |
| 40 | 28 | %28 | ( | Left parenthesis |
| 41 | 29 | %29 | ) | Right parenthesis |
| 42 | 2A | %2A | * | Asterisk |
| 43 | 2B | %2B | + | Plus sign |
| 44 | 2C | %2C | , | Comma |
| 45 | 2D | – | Hyphen/Minus | |
| 46 | 2E | . | Full stop/Period | |
| 47 | 2F | %2F | / | Solidus/Slash |
| 48 | 30 | 0 | Digit zero | |
| 49 | 31 | 1 | Digit one | |
| 50 | 32 | 2 | Digit two | |
| 51 | 33 | 3 | Digit three | |
| 52 | 34 | 4 | Digit four | |
| 53 | 35 | 5 | Digit five | |
| 54 | 36 | 6 | Digit six | |
| 55 | 37 | 7 | Digit seven | |
| 56 | 38 | 8 | Digit eight | |
| 57 | 39 | 9 | Digit nine | |
| 58 | 3A | %3A | : | Colon |
| 59 | 3B | %3B | ; | Semicolon |
| 60 | 3C | %3C | < | Less-than sign |
| 61 | 3D | %3D | = | Equal/Equality sign |
| 62 | 3E | %3E | > | Greater-than sign |
| 63 | 3F | %3F | ? | Question mark |
| Dec | Hex | Oct | Char | Description |
|---|---|---|---|---|
| 64 | 40 | %40 | @ | Commercial at/At sign |
| 65 | 41 | A | Latin capital letter A | |
| 66 | 42 | B | Latin capital letter B | |
| 67 | 43 | C | Latin capital letter C | |
| 68 | 44 | D | Latin capital letter D | |
| 69 | 45 | E | Latin capital letter E | |
| 70 | 46 | F | Latin capital letter F | |
| 71 | 47 | G | Latin capital letter G | |
| 72 | 48 | H | Latin capital letter H | |
| 73 | 49 | I | Latin capital letter I | |
| 74 | 4A | J | Latin capital letter J | |
| 75 | 4B | K | Latin capital letter K | |
| 76 | 4C | L | Latin capital letter L | |
| 77 | 4D | M | Latin capital letter M | |
| 78 | 4E | N | Latin capital letter N | |
| 79 | 4F | O | Latin capital letter O | |
| 80 | 50 | P | Latin capital letter P | |
| 81 | 51 | Q | Latin capital letter Q | |
| 82 | 52 | R | Latin capital letter R | |
| 83 | 53 | S | Latin capital letter S | |
| 84 | 54 | T | Latin capital letter T | |
| 85 | 55 | U | Latin capital letter U | |
| 86 | 56 | V | Latin capital letter V | |
| 87 | 57 | W | Latin capital letter W | |
| 88 | 58 | X | Latin capital letter X | |
| 89 | 59 | Y | Latin capital letter Y | |
| 90 | 5A | Z | Latin capital letter Z | |
| 91 | 5B | %5B | [ | Left square bracket |
| 92 | 5C | %5C | \ | Reverse solidus/Backslash |
| 93 | 5D | %5D | ] | Right square bracket |
| 94 | 5E | %5E | ^ | Circumflex accent/Caret |
| 95 | 5F | _ | Underscore/Low line | |
| 96 | 60 | %60 | ` | Grave accent |
| 97 | 61 | a | Latin small letter a | |
| 98 | 62 | b | Latin small letter b | |
| 99 | 63 | c | Latin small letter c | |
| 100 | 64 | d | Latin small letter d | |
| 101 | 65 | e | Latin small letter e | |
| 102 | 66 | f | Latin small letter f | |
| 103 | 67 | g | Latin small letter g | |
| 104 | 68 | h | Latin small letter h | |
| 105 | 69 | i | Latin small letter i | |
| 106 | 6A | j | Latin small letter j | |
| 107 | 6B | k | Latin small letter k | |
| 108 | 6C | l | Latin small letter l | |
| 109 | 6D | m | Latin small letter m | |
| 110 | 6E | n | Latin small letter n | |
| 111 | 6F | o | Latin small letter o | |
| 112 | 70 | p | Latin small letter p | |
| 113 | 71 | q | Latin small letter q | |
| 114 | 72 | r | Latin small letter r | |
| 115 | 73 | s | Latin small letter s | |
| 116 | 74 | t | Latin small letter t | |
| 117 | 75 | u | Latin small letter u | |
| 118 | 76 | v | Latin small letter v | |
| 119 | 77 | w | Latin small letter w | |
| 120 | 78 | x | Latin small letter x | |
| 121 | 79 | y | Latin small letter y | |
| 122 | 7A | z | Latin small letter z | |
| 123 | 7B | %7B | { | Left curly bracket |
| 124 | 7C | %7C | | | Vertical line/Vertical bar |
| 125 | 7D | %7D | } | Right curly bracket |
| 126 | 7E | ~ | Tilde | |
| 127 | 7F | DEL | Delete (DEL) |

浙公网安备 33010602011771号