It is an array of unsigned chars, which must be at least as big as the max
output chars, into which will be inserted values that indicate how many
bytes from the input when into each XMLCh that was created in the output
buffer. Since many encodings use variable numbers of byte per character,
this provides a means to find out what bytes in the input went into making a
particular output UTF-16 character.
--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
[EMAIL PROTECTED]
http://www.charmedquark.com
"Why put off until tomorrow what you can
put off until the day after tomorrow?"
----- Original Message -----
From: "Mark A Russell" <[EMAIL PROTECTED]>
To: "Xerces C++ Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 9:16 AM
Subject: Last parameter of transcodeFrom?
> Further transcoding question about the following function from
> Iconv400Transcoder:
>
> virtual unsigned int transcodeFrom
> (
> const XMLByte* const srcData
> , const unsigned int srcCount
> , XMLCh* const toFill
> , const unsigned int maxChars
> , unsigned int& bytesEaten
> , unsigned char* const charSizes
> );
>
> I'm using this to transcode from the platform encoding to the encoding
used
> by XMLCh. (Basically I'm trying to give it a wchar_t and get an XMLCh out
> of it)
>
> What value is this function expecting for charSizes?
>
>
> Mark A Russell
> NextGen Software Engineer
> CSG Systems, Inc.
> E-Mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]