I'm beginner in Javascript, I have a url containing unicode like below:
/Solutions/راه-کار-جامع-امنیت-اطلاعات
Now I need to read the path name by following code
window.location.pathname.split('/')
and in the output I have this
"", "Solutions", "%D8%B1%D8%A7%D9%87-%DA%A9%D8%A7%D8%B1-%D8%AC%D8%A7…%D8%AA->%D8%A7%D8%B7%D9%84%D8%A7%D8%B9%D8%A7%D8%AA"
How can I solve this problem?