Thanks David, for taking the time to reply. I have a
couple more questions in line below.
--- [EMAIL PROTECTED] wrote:
> Make sure you transcode to UTF-8.
Sounds like a good idea, but I'm not sure how. Do I
have to use ICU? Or is there some way through
XMLString (or some other xerces class/api) which isn't
obvious to me?
>
> > If it is and if the char argument is not
> > guaranteed to be null terminated than I guess I'll
> > have to make a copy before calling transcode.
>
> Why? The transcoder interface does not require
> this.
I'm a little confused. The version of transcode I'm
using has this signature:
char* transcode(const XMLCh* const toTranscode);
If it doesn't take a length and it doesn't depend on
the array being null terminated how does it know when
to stop transcoding? Thanks again for taking the time
to reply.
-exits
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]