I have a very strange issue with urldecode() on a urlencode() string. I have situation where I have to pass a SQL string through a URL to pull off some client side XML mail merge to WORD stuff. It largely works until the user does a query with a paticular city in it. Here is the example
" City like '%edmond%' "
after I urlencode() it this becomes--
" City+like+%27%25edmond%25%27 "
after I urldecode() on the other page it becomes--
" City like 'ímond%' "
What is up with that?!?!?
Obviously this returns no result set back which causes the mail merge to fail.
Any ideas?
Thanks