MivaScript Builtin Function, Miva Merchant 9+
encodeattribute( attribute )
<mvt:assign name="g.return_value" value="encodeattribute( attribute )" />
Returns a copy of string (which is usually a URI or part of an URI ) in URI-encoded format. Special characters such as space, tilde (~), and the plus sign are converted to hexadecimal %nn format. This function is the opposite of decodeattribute.
attribute
A URI encoded string