In my existing application javascript escape() function is used to encode a string.
Now, what i want is to support UTF8 characters also. How could i do this.
In brief, I have text field. That, value is encoded and is passed over the network.
For example : escape("Greetings 1") -- prints -- Greetings%201
I followed the below links :
- http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_escape
- http://www.w3schools.com/jsref/jsref_escape.asp
Now, i want is to support UTF8 characters for this field also.
Any ideas are appreciated. Please help.