Platform : W2K / VC6 / Xerces-C 1.3
Does anyone have a decent sample of using transcodeTo ?, I have a
UTF-16 string i'm trying to transcode to UTF-8, but i'm a little
unsure of the buffer management on the destination buffer. I allocate
a buffer, and if its not big enough, it looks like charEaten will be
less than the source string length. So, i re-allocate the buffer
making it bigger, how do i pick up the transcoding where i left off ?,
do i past the start of the buffer back in, or do i need to pass in
where it got to last time ?
It also looks like after calling makeNewTranscoderFor that the
resValue is not getting set.
and on a completely different topic, I'm working on a SOAP server (XML
over HTTP), this requires conformance to RFC 2376, which requires that
the charset indicated in the content-type header be the deciding
factor for the encoding of the XML, and this should override any xml
decl. Is there anyway to do this in Xerces other than re-writing the
xml decl ?
TIA
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]