RE: Including greek characters in text
by "Terence de Giere" <terence(at)humanfactors.com>
|
Date: |
Thu, 28 Dec 2000 17:01:00 -0600 |
To: |
"'Norm Wolcott'" <nwolcott(at)kreative.net>, "'hwg-gutenberg'" <hwg-gutenberg(at)hwg.org> |
In-Reply-To: |
default |
|
todo: View
Thread,
Original
|
|
RE: Including greek characters in text
(I started this email at least a month ago and got
distracted.)
Since Unicode is the basic encoding for XML you
could use Unicode. The user will probably need a
Unicode font on their machine. There are some
freeware fonts, and Microsoft has some as well on
their Web site. The Greek portion of Unicode is
based on the IS0 8859-7 character set. Some
browsers and XML editors may not support all the
possible forms the characters can be coded in. Hex
coding (as it is in the Unicode standard)
sometimes causes problems and it is necessary to
convert it to decimal form.
The most recent XML capable browsers appear to
support UTF-8 but not UTF-16
Frank's DTD would have the following coding for
the Document Type Declaration
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE gutbook SYSTEM "gutbkplaypg1.dtd">
The following example of the use of a Greek
character (Sigma) in Unicode in a portion of the
<gutbook>
<gutblurb><para>Some text.</para></gutblurb>
<markupblurb><para>Some text.</para></markupblurb>
<book>
<bookbody>
<chapter>
<para>Here is the Greek capital letter sigma -
Σ.</para>
</chapter></bookbody></book></gutbook>
Note the entity Σ can also be written in
decimal form as Σ A calculator such as the
Windows calculator in Scientific calculator mode
can make the conversion. Browsers are more likely
to understand the decimal form at this time. You
can use the list in the HTML 4.01 specification
for greek and symbolic characters for the decimal
version at Mathematical, Greek and Symbolic
characters for HTML at
http://www.w3.org/TR/html4/sgml/entities.html#h-24
.3.1
A Unicode chart for the encoding of Greek letters
is found at:
http://charts.unicode.org/Web/U0370.html
Terence de Giere
Web Accessibility
HTML to ISO and W3C standards
Technical Support - Production Services
terence(at)humanfactors.com
<mailto:terence(at)humanfactors.com>
Human Factors International, Inc
410 West Lowe
Fairfield, IA, USA
Internet: http://www.humanfactors.com/
Phone: 1-800-242-4480
Fax: 1-641-472-5412
-----Original Message-----
From: owner-hwg-gutenberg(at)hwg.org
[mailto:owner-hwg-gutenberg(at)hwg.org]On
Behalf Of Norm Wolcott
Sent: Tuesday, November 14, 2000 10:36 AM
To: hwg-gutenberg
Subject: Including greek characters in text
I am doing a book which has many greek characters
in the text and footnotes.
What is the best way to do this in XML, and is
WGL4 obsolete?
Norman M. Wolcott, nwolcott(at)kreative.net
HWG: hwg-gutenberg mailing list archives,
maintained by Webmasters @ IWA