JS Parse URL Decode
decodeURI(encodedURI)
GutoTrosla
decodeURI(encodedURI)
function decodeEntity(inputStr) {
var textarea = document.createElement("textarea");
textarea.innerHTML = inputStr;
return textarea.value;
}
console.log(decodeEntity(str));