Decode a PHP encoded string url in Javascript

Sometimes you may face a problem when you have to decode a string with Javascript which was originally url encoded with PHP. This can be an API response or cookie set by PHP setcookie function. A simple way to do this is through¬†decodeURIComponent function in Javascript. But it leaves the "+" signs in the string. …

Decode a PHP encoded string url in Javascript Read More »