Compare escape(), encodeURI(), and encodeURIComponent()


escape() Method

The escape() function computes a new string in Unicode format where certain characters have been replaced by a hexadecimal escape sequence. It encodes all the spaces, punctuation, accented characters, and any other non-ASCII characters. It doesn't encode all the special characters, such as @*_+-./. It replaces characters with %xx encoding, where xx is equivalent to the hexadecimal number representing the character. For example, # is returned as %23.
Test characters: ~!@#$%^&*=+(){}[],?/:;'\"\\

Display Alphabets by setInterval() Function


United States Time Zones

HTML Code Decoder

We talked about HTML encoding and create a handy tool on HTML Code Encoder post. We talked about why encoding is important and why we can't ignore that. However, decoded HTML code is also needed in many cases. Specially, we need to decode our old code to update or modify to make it more user friendly. If we want to update our cool project on blog or site, we need a decoder for encoded code.



Check out HTML Code Encoder.

Grab The Button...

Grab the above button and add to your blog or website to get easy access to Virtual Species. Simply click the textbox, copy the code and paste where you want to see the button. That's it!