Character Encoding

0
986
Character Encoding

URL Character Encoding
 Many time in URL we see eg. www.example.com/page?val=cat%20%2E%2E%2F
This complex %20 sign are nothing but Character Encoding in Hex form. 
 
Special             Hex                 Ascii
Characters
(                       %28                 36
)                       %29                 38
$                      %24                 36
&                     %26                 38
+                      %2B                43
,                       %2C                44
/                       %2F                 47
:                       %3A                58
;                       %3B                59
=                      %3D                61
?                      %3F                 63
@                     %40                 64
Space               %20                 32
“”                     %22                 43         Quotation Marks
<                      %3C                60
>                      %3E                 62
#                      %23                 35
%                     %25                 37
{                      %7B                123
}                      %7D                125
|                       %7C                124
                       %5C                92
^                      %5E                 94
~                      %7E                 126      Tidle
[                       %5B                91
]                       %5D                93
`                       %60                 96        Grave Accent
Rest for a-z we simply use ascii value (97-122)(a-z)
Eg. script ==> %3C%115%99%114%116%112%116%3E
                         <         s         c        r       i         p       t     > 
 

LEAVE A REPLY

Please enter your comment!
Please enter your name here