decodeURIComponent vs unescape, what is wrong with unescape?
问题 In answering another question I became aware that my Javascript/DOM knowledge had become a bit out of date in that I am still using escape / unescape to encode the contents of URL components whereas it appears I should now be using encodeURIComponent / decodeURIComponent instead. What I want to know is what is wrong with escape / unescape ? There are some vague suggestions that there is some sort of problem around Unicode characters, but I can't find any definite explanation. My web