You may have already found a solution. If so, I apologize, but you can use the URLEncode method, or you could write a function that replaces the characters that are giving you problems with their numeric reference counterpart. For example, < is the same as < which is also the same thing as 〈