note ikegami <p><c>decodeURI</c> "does not decode escape sequences that could not have been introduced by encodeURI." <p>In other words, decodeURI won't return an invalid URI, like decoding <c>%3A</c> does or could do. You can't safely decode an entire URI. Each path segment, each attribute key and each attribute value must be isolated before they can be decoded. For example <c>http%3A//</c> (a relative URI) and <c></c> (an absolute URI) are not equivalent. <p>Not what you want: <c> decodeURI("") </c> <p>What you want: <c> decodeURIComponent("XML%3A%3AParser") </c> <p>Since your code already extracts the compenent, simply use <c> clickedLink = "[cpan://" + decodeURIComponent(array[1]) + "]"; </c> 436993 437085