how do i Raw url ENCODING/ DECODING in javascript and ruby to get the same answers in both?
- by Mo
Hi
i am working on a web application where i have to encode and decode a string at the JavaScript side and ruby backend of the code. the only problem is that the escape methods for JavaScript and ruby have a small difference. in java script the " " is treated as "%20" but in ruby the " "(space) is encoded to "+".
any way to work around this? another ruby method to encode a string in RAW url encode?
thank you