string = "This is a_test of application/x-www-form-urlencoded MIME format ~:)"; str1 = urlEncode(string); str2 = urlEncodedFormat(string); dump(str1); dump(str2); assert(str1 CT "_"); assert(str2 NCT "_"); assert(URLDecode(str1) == URLDecode(str2)); echo("

EOF"); function assert(bool, message=""){ if (isEmpty(arguments.message)) arguments.message = "Assertion failed"; if (!bool) throw(message, "Application"); }