[Expat-checkins] expat/doc reference.html,1.66,1.67
Karl Waclawek
kwaclaw at users.sourceforge.net
Tue Dec 13 18:51:56 CET 2005
Update of /cvsroot/expat/expat/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32326
Modified Files:
reference.html
Log Message:
Fixed omission of UTF-16 output.
Index: reference.html
===================================================================
RCS file: /cvsroot/expat/expat/doc/reference.html,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- reference.html 28 Nov 2005 20:00:50 -0000 1.66
+++ reference.html 13 Dec 2005 17:20:16 -0000 1.67
@@ -1209,10 +1209,11 @@
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">
More information about the Expat-checkins
mailing list