Encoding issue

Hi,
From an external source I am getting data in the following format /
encoding:

http://www.mydomain.com/app?message= 3 0 9 9 3 4

how do I convert the message parameter into plain string 309934? Thanks.

Any takers?

On 23 January 2012 22:44, Santosh c [email protected] wrote:

Hi,
From an external source I am getting data in the following format / encoding:

http://www.mydomain.com/app?message= 3 0 9 9 3 4

how do I convert the message parameter into plain string 309934? Thanks.

If you use ruby-debug to break in and examine params[:message] what
does it show?

Colin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs