]> granicus.if.org Git - libexpat/commitdiff
Fixed omission of UTF-16 output.
authorKarl Waclawek <kwaclaw@users.sourceforge.net>
Tue, 13 Dec 2005 17:20:16 +0000 (17:20 +0000)
committerKarl Waclawek <kwaclaw@users.sourceforge.net>
Tue, 13 Dec 2005 17:20:16 +0000 (17:20 +0000)
expat/doc/reference.html

index 3f3f8d62ce7578587e01eed58442b20e507b37e0..574ae317980d85c18b6d0d379b7ed3b74c6088a1 100644 (file)
@@ -1209,10 +1209,11 @@ appropriate handler setter. None of the handler setting functions have
 a return value.</p>
 
 <p>Your handlers will be receiving strings in arrays of type
-<code>XML_Char</code>. This type is defined in expat.h as <code>char
-*</code> and contains bytes encoding UTF-8.  Note that you'll receive
-them in this form independent of the original encoding of the
-document.</p>
+<code>XML_Char</code>. This type is conditionally defined in expat.h as
+either <code>char</code>, <code>wchar_t</code> or <code>unsigned short</code>.
+The former implies UTF-8 encoding, the latter two imply UTF-16 encoding.
+Note that you'll receive them in this form independent of the original
+encoding of the document.</p>
 
 <div class="handler">
 <pre class="setter" id="XML_SetStartElementHandler">