From: Shandy Nantz Date: 2008-03-01T03:40:26+09:00 Subject: Re: Convert characters from hex to string Chris Hulan wrote: > On Feb 29, 1:06 pm, Shandy Nantz wrote: >> -S >> -- >> Posted viahttp://www.ruby-forum.com/. > > FYI > irb(main):003:0> CGI.unescape 'http://www.example.com%2flogic%3fss > %3d1%26companyname%3dshhhhhhh%26userlogin%3dshhhhh%40/' > => "http://www.example.com/logic? > ss=1&companyname=shhhhhhh&userlogin=shhhhh@/" > > cheers I should clarify here - I am using RoR to do all of this. I had made a post in the Rails forum but knowbody was answering. As for the clarifying part, I am building this link in my controller and then passing it to my view to be added into a link. The reason I do this is that in my controller I generate a hash that is used to create an access key for each user who is logging in, which becomes park of the link string and then is passed to the view. However, the CGI.unescape isn't working. -S -- Posted via http://www.ruby-forum.com/.