Hi Debra,
>> The p_web.EncodeWebString is a little too aggressive...
You need to qualify this a bit. This method does "percent encoding" but it does take a "flags" parameter which can alter the behavior a bit. Flags is a "bitwise" parameter, meaning you can add these equates together.
For example, setting flags to
Net:Dos means the following characters are not encoded
/ \ . $If flags includes
net:NoHex or
net:NoPlus then spaces are left along.
If flags contains
net:BigPlus then spaces are encoded to
%20.
Otherwise spaces are encoded as
+if flags contains
net:NoColon then colons are not encoded.
All letters (A-Z and a-z) and numbers (0-9) are not encoded.
Everything not mentioned above, is encoded.
Sorry to answer your question more completely, I need to know what you find "too aggressive" about it.
Cheers
Bruce