Subject: Re: XML_Char
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Sun Dec 17 2000 - 21:05:12 CST
On Mon, Dec 18, 2000 at 04:02:15AM +0100, Mike Nordell wrote:
> Just to cure my ignorance, what really *is* and XML_Char? What is it to be
> used for? Why do we use it for internal internal representations that
> currently are of exacly one type; char, and in the future possibly one of
> the two types char or wchar_t?
From <libxml/tree.h>:
/*
* Size of an internal character representation.
*
* We use 8bit chars internal representation for memory efficiency,
* Note that with 8 bits wide xmlChars one can still use UTF-8 to handle
* correctly non ISO-Latin input.
*/
typedef unsigned char xmlChar;
This archive was generated by hypermail 2b25 : Sun Dec 17 2000 - 21:05:14 CST