Lists Home |
Date Index |
- From: Jerome McDonough <email@example.com>
- To: Deke Smith <firstname.lastname@example.org>, <email@example.com>
- Date: Tue, 22 Sep 1998 09:34:07 -0700
At 09:15 AM 9/22/98 -0500, Deke Smith wrote:
>Gavin Thomas Nicol, firstname.lastname@example.org said on 9/21/98 2:42 PM:
>>The two required encodings are UTF-16 and UTF-8. You can use any other
>>encoding you like, so long as the system you are working with supports
>>Remember: byte != character code != character != glyph
>It may be slightly off topic, but do you mind expanding on that last
>line? I would be interested.
Glyphs represent the various shapes that a character may have when
rendered or displayed; a single character may have multiple glyphs,
and it's possible for a single glyph to represent several different
characters. Arabic, as an example, has many different glyphs for
representing a single character. So glyphs are not the same as
Unicode defines characters as "the smallest components of written
language that have semantic value," while character codes represent
characters as "values that reside only in a memory representation, as
strings in memory, or on disk." Different character encoding standards will
have different character codes for the same character, and even within
Unicode, the same character code may have different encodings (UTF-7,
UTF-8, etc.). So, character codes are not the same as characters.
And Unicode represents a character as a single 16 bit word, so bytes
do not represent characters (even in UTF-8, where a character encoding
may be one to four bytes).
>IANA character encoding spec I found at
>ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets do not
>explicitly name UTF-16, but does name several flavors of Unicode(?):
>Which is an alias for UTF-16?
ISO-10646-UCS-2 (the 2-octet Basic Multilingual Plane) is the
same as Unicode (which is a 16-bit chararacter encoding), so
that would be your "UTF-16." (I don't think that, technically,
the 16-bit encoding gets referred to as a UCS Transmission Format).
Jerome McDonough -- jmcdonou@library.Berkeley.EDU | (......)
Library Systems Office, 386 Doe, U.C. Berkeley | \ * * /
Berkeley, CA 94720-6000 (510) 643-2058 | \ <> /
"Well, it looks easy enough...." | \ -- / SGNORMPF!!!
-- From the Famous Last Words file | ||||
xml-dev: A list for W3C XML Developers. To post, mailto:email@example.com
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:firstname.lastname@example.org the following message;
To subscribe to the digests, mailto:email@example.com the following message;
List coordinator, Henry Rzepa (mailto:firstname.lastname@example.org)