If it is a GET query, then the original data should be in $ENV{QUERY_STRING} iirc.
In reply to Re: CGI Input with Escaped Characters by shmem in thread CGI Input with Escaped Characters by hoyt