Encode a string to the "x-www-form-urlencoded" form, enhanced with the UTF-8-in-URL proposal.
This is what happens:
Escape( x )
x | The string to be encoded. |
---|
The encoded string.
Escape ("Peter Schmidt") // Returns Peter+Schmidt Escape ("Configuración") // Returns Configuraci%c3%b3n Escape ("Friedrichstraße 231, 10969 Berlin") // Returns Friedrichstra%c3%9fe+231%2c+10969+Berlin