![Thunderbird logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2024-02-12-07-36-53-599028_1.png)
Saving Firefox websites address in Thunderbird
When I save a web site address with spaces from Firefox in Thunderbird it changes to %20 /recent%20models%20page%206.htm or does not underline the address after a space xxxxx/recent models page 6.htm becomes xxxxx/recent
What am I doing wrong? Peter
Chosen solution
A space is assigned number 32, which is 20 in hexadecimal. When you see “%20,” it represents a space in an encoded URL. URL encoding converts characters into a format that can be transmitted over the Internet. URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits. URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.
So you are not doing anything wrong but the people who intentionally created the https link in that way were not really using the best practise. It is usual to use a hyphen between words, but if someone created it using a space then the code needs to know that a real space needs to be inserted.
URL' s cannot have spaces of nothing otherwise the link will break and url fail.
Read this answer in context 👍 0All Replies (2)
Chosen Solution
A space is assigned number 32, which is 20 in hexadecimal. When you see “%20,” it represents a space in an encoded URL. URL encoding converts characters into a format that can be transmitted over the Internet. URLs can only be sent over the Internet using the ASCII character-set. Since URLs often contain characters outside the ASCII set, the URL has to be converted into a valid ASCII format. URL encoding replaces unsafe ASCII characters with a "%" followed by two hexadecimal digits. URLs cannot contain spaces. URL encoding normally replaces a space with a plus (+) sign or with %20.
So you are not doing anything wrong but the people who intentionally created the https link in that way were not really using the best practise. It is usual to use a hyphen between words, but if someone created it using a space then the code needs to know that a real space needs to be inserted.
URL' s cannot have spaces of nothing otherwise the link will break and url fail.
Thanks for responding - fixed. Peter