Such as the title,I have try to coding a string with encodeURI method,and decoding the result with decodeURIComponent method.and then I found the decoding string same as the original string.So I want to know if all strings coding with encodeURI can be decoding using decodeURIComponent.
encodeURI("http://www.example.com?type=qqq&string=qqq+<>`www");
//"http://www.example.com?type=qqq&string=qqq+%3C%3E%60www"
decodeURIComponent("http://www.example.com?type=qqq&string=qqq+%3C%3E%60www");
//"http://www.example.com?type=qqq&string=qqq+<>`www"