A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/escape below:

escape · WebPlatform Docs

escape Summary

Deprecated

The deprecated escape() function encodes a string so it can be read on all computers.

Syntax
escape(str)
str
Required. A String to be encoded
Return Value

Returns a string value in Unicode format that contains the encoded contents of the str parameter.

Examples
unescape("webplatform"); 
unescape("ümlaut"); 
unescape("日本語"); 
Remarks

All spaces, punctuation, accented characters, and any other non-ASCII characters are replaced with % xx encoding, where xx is equivalent to the hexadecimal number representing the character. For example, a space is returned as “%20.”

Characters with a value greater than 255 are stored using the %u xxxx format.

Notes

The escape function should not be used to encode URIs. Use encodeURI and encodeURIComponent functions instead

See also Related articles Deprecated Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4