Just an addendum to my last post...

> 1. Unfortunately, I'm getting an unhandled exception (access violation)
> somewhere inside the call to transcodeTo().  Any idea why this 
> would happen?

Here's some more detail:

unsigned int total_chars =
UTF8_TRANSCODER->transcodeTo((const XMLCh*) source, 
        (unsigned int) length,
        (XMLByte*) res,
        (unsigned int) length*UTF8_MAXLEN,
        charsEaten,
        //XMLTranscoder::UnRep_Throw
        XMLTranscoder::UnRep_RepChar  );

source: 66 00 00 00      (f)
length: 1

res is allocated fine, 
UTF8_MAXLEN is 4, 
charsEaten is 0

looks okay from my end, but maybe I'm missing something obvious?

- Brendan



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to