[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CDATA



I have a routine where I send email addresses using HTTPAPI. I'm url
encoding the data, but I'm having a problem with an email address like
One&Two@xxxxxxxxxxx The ampersand is causing a problem, and the
vendor's documentation calls for CTDATA for the ampersand. However,
the brackets aren't translating correctly. I have the program in
debug, and here's what I'm seeing: Instead of [, I get Ý, and instead
of ], I get "...so my CDATA[&]] looks like this: !ÝCDATAÝ&¨¨.

Two questions: Is there a MakeCDATA type function in HTTPAPI? And,
what do I need to do to handle the translation of the brackets?

Thanks!
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------