How to calculate URL byte length?

can someone tell me how can i calculate the byte length of urls? The RFC says that browsers are only needed to support URLs up to 1024 bytes long. But how can I calculate this?

+4
source share
1 answer

In standard ASCII text, each character is 1 byte. The browser url is standard ASCII (special encoding is required to enter Unicode characters in the url), so you go.

+5
source

All Articles