string encodeUrl(string $str)
•Returns an encoded string that can be used in the query part of a URL.
•The string is first converted to a UTF-8 stream.
•Spaces are encoded as plus (+) signs.
•Non-alphanumeric characters (except '-_.' characters) are encoded with a percent (%) sign followed by two hex digits that represent the character.
•This function is supported only in CSE HTML Validator v11.9910 and later.
string decodeUrl(string $str)
•Returns a decoded string from the query part of a URL that was encoded.
•The string is decoded to a UTF-8 stream, then converted to the native UTF-16 encoding and returned.
•This function is supported only in CSE HTML Validator v11.9910 and later.