Forum Moderators: open
I know that ampersands need to be encoded or you will get a validation error, but is there anything else which does as well?
Some of my URLs have equals signs in them which doesn't cause them to fail validation, but I've read somewhere that equals signs should be encoded too.
SiteMorse has also given some sort of error relating to equals sign, although I can never be quite sure exactly what it's referring to!
Any thoughts, anyone?
In addition ampersand has to be encoded since it is used to signal that the following character sequence is a coded single entity.
However, your question was specifically about urls (which don't usually contain extended characters). In this case, encoding is used to ensure that the html is not ambiguous (rather than to ensure characters are displayed correctly). Provided all urls are wrapped in quotes, equals need not be encoded since there is no ambiguity.
Kaled.