I have a CD called "Die größten Erfolge".
When I put this in encodeURI() it results in "Die%20gr%C3%A6%C3%8Ften%20Erfolge". But when I put this back in decodeURI() it does not result in the original string:
- encodeURI.JPG (9.63 KiB) Viewed 1885 times
I attached this console output as I could not copy it and did not know how to type in the result

Note that online converters on the internet give "Die+gr%C3%B6%C3%9Ften+Erfolge" as a result for encoding (UTF-8 based), when I feed this into decodeURI() I get the correct original string.
Bug, feature, my misunderstanding?
SilverEagle