Uday kumar das Uday kumar das - 1 year ago 115
Ruby Question

Convert UTF-8 string to readable string

I have a UTF-8 string like:

a= "for ccps ‘the way forward’"

And want to convert to
for CCPs ‘the way forward’

I tried code like:

CGI.escape a

Answer Source

Finally got the solution:

a= "for ccps ‘the way forward’"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download