Horje
How to set URL Encoding

URLs can only be sent over the Internet using the ASCII character-set. If a URL contains characters outside the ASCII set, the URL has to be converted.

URL encoding converts non-ASCII characters into a format that can be transmitted over the Internet.

URL encoding replaces non-ASCII characters with a "%" followed by hexadecimal digits.

URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign, or %20.


Example of URL Encoding

If you click "Submit", the browser will URL encode the input before it is sent to the server. A page at the server will display the received input. Try some other input and click Submit again.
index.html
Example: HTML
Suppose Your Normal url: https://horje.com/Hello Günter
URL Encoding url: https://horje.com/Hello%20G%C3%BCnter

Output should be:

Example of URL Encoding





Category:
Web Tutorial
Sub Category:
HTML URL Encode
Uploaded by:
Admin


Read Article
https://develop.horje.com/learn/1434/reference