I am experiencing another problem with @URLEncode - if the length of the text exceeds roughly 1K bytes, it fails. Is this known, or am I doing something wrong?
You are using pipes to determine your string value, which should be the safest. However, if the URL would have | " or ', it might not escape correctly.
@URLEncode really cant handle that many chars
make a form, add the a field computed, @URLEncode and make the string BIG with only normal chars.
The evaluate cannot process that many characters.
If you tested part 2 and received no errors. Then try it again on the form with the actual URL. If that fails, its the URL. If it works then it would mean the string is too long for the evaluation and not the encoding.