Do you know which is url encoding technique used by aem.
Ex. If our file name is "jcr:content"
But the encoded path of this file is
http://localhost:4503/editor.html/content/dam/specialcharacters/jcr-content
then to encode this jcr:content to jcr-content which is the ecoding technique used by aem...