Decode Url Safe
decodeUrlComponent may throw error
decodeURIComponent("%C4%97%");
// VM158:1 Uncaught URIError: URI malformed
// at decodeURIComponent (<anonymous>)
// at <anonymous>:1:1
Solution:
try {
decodeURIComponent('%C4%97%')
}
catch(){
}
Be the first to know when I post cool stuff
Subscribe to get my latest posts by email.
Thanks for signing up! Check your email to confirm your subscription.
Whoops, we weren't able to process your signup.