OK, Unicode is a 21-bit number for each unique glyph that's been put in the set. UTFs are a way of representing the 21-bit numbers.
It's basically like an enumeration type in C/C++. 25 means one glyph, 26 is the next, 27, ... XMLCh is not UCS-2, it is UTF-16 in the native CPU byte order. However, I understand UCS-2 to be similar to UTF-16 but not entirely identical. HTH! Matt -----Original Message----- From: Robert Parker [mailto:[EMAIL PROTECTED] Sent: Thursday, June 09, 2005 2:44 AM To: [email protected] Subject: What's the definition of "unicode"? My page of choice for explaining UTF-8 encoding is http://www.cl.cam.ac.uk/~mgk25/unicode.html This indicates to me that unicode is the specification of the mapping of integer values to "picture representations of characters" i.e. unicode is a "code table" not a particular encoding scheme. However on the xerces-c web pages and code, I've noticed that the internal representation used within xerces (i.e. the array of XMLCh) is referred to as if it were "unicode". But XMLCh is actually of typedef of "unsigned short", so isn't XMLCh more correctly a UCS-2 encoding scheme ? (especially since unicode integer range is more than 16 bits) ? ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ___________________________________________________________________ The information contained in this message and any attachment may be proprietary, confidential, and privileged or subject to the work product doctrine and thus protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to this message and deleting it and all copies and backups thereof. Thank you.
