Re: a simple question about characters with macrons

Martin Mueller wrote:
> 
> That works well enough, but a more elegant solution would be to use e and o
> with a macron, that is Unicode  0113, 0112, 014d, 014c. These characters
> appear on my Windows NT machine character map (which is the source of all
> my wisdom on the subject) as part of the Latin Extended A keyboard.
> 
> I assume there are entity references for those characters. But do these
> characters travel as dependably over the net and are they likely to be
> rendered properly by all versions of Netscape and Microsoft browsers
> version 4 and up?

There are no CERs (Character Entity References) for those characters in
HTML4 as far as I know, but the decimal NCRs (Numeric Character
References) and hexadecimal NCRs for those characters are as follows:

  Unicode  Dec NCR  Hex NCR
  U+0113   ē   ē
  U+0112   Ē   Ē
  U+014D   ō   ō
  U+014C   Ō   Ō

Note that Netscape 4.X does not support hex NCRs. Also, the decimal NCRs
only work when the document's "charset" is UTF-8:

In HTTP (preferred):

  Content-Type: text/html; charset=utf-8

Or in HTML (if you can't do HTTP):

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

The Windows version of Netscape 4.X will work, as long as the user has
the appropriate fonts already installed. I'm not sure about the Mac
version. The Unix version probably won't work, since it doesn't have
very extensive font support.

Erik

Received on Monday, 28 February 2000 12:28:20 UTC