On 07/24/2010 07:48 PM, David Bertoni wrote:
On 7/24/2010 1:43 AM, Stanisław Findeisen wrote:
Hi
Is XMLCh type guaranteed to be UTF-16 code unit?
What about byte order?
Yes, XMLCh always contains UTF-16 code units, and the byte order is that
of the platform.
Is this possible:
sizeof(XMLCh) != 2
?
What about surrogate pairs and their order? Is it the same as in UTF-16,
that is, the high surrogate comes first?
Yes, the processor operates internally in UTF-16. Arrays of XMLCh are
always UTF-16.
Is anything of this a subject to change in the future?
No.
Dave
STF