Escape the data yourself or use CDATA.

Yes, that's correct.

I think I like JSON better.

JSON has 8+ things needing to be escaped, though some of them are less
common than an ampersand.

Aaron Bartell
litmis.com - Services for open source on IBM i


On Tue, Dec 15, 2015 at 10:26 PM, Bradley Stone <bvstone@xxxxxxxxx> wrote:

Ah.. I may have found my answer... I asked this a few emails ago but got no
reply. Escape the data yourself or use CDATA. :)

Interensting.. I think I like JSON better. :)

-------------------------------------------------------

{ // The URL class does not itself encode or decode any URL components
according to the escaping mechanism defined in RFC2396.
// It is the responsibility of the caller to encode any fields, which
need to be escaped prior to calling URL,
// and also to decode any escaped fields, that are returned from URL.
Furthermore, because URL has no knowledge of URL escaping,
// it does not recognise equivalence between the encoded or decoded
form of the same URL



This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].