David, The escape() JavaScript function can't be used to solve this problem b/c it occurs when the response is being retrieved in the JavaScript callback function if req.responseXML is used.
-Richard --- David Durham <[EMAIL PROTECTED]> wrote: > Richard Yee wrote: > > You should be using URLEncoding.encode() to encode > the > > response. This will replace ampersands with %26. > The > > only problem is that the space character is also > > converted to a '+'. You then need to replace '+' > with > > %20 on the server after using URLEncoder.encode() > so > > that the JavaScript can decode it correctly. > > The Javascript 'escape()' function may be useful > here, but it sounds > like you're doing the escaping on the server side. > > > - Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]