Re: AW: rendering trademark in HTML using DSSSL and Navigator

Subject: Re: AW: rendering trademark in HTML using DSSSL and Navigator
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Mon, 28 Aug 2000 13:25:42 -0400 (EST)
At 25 Aug 2000 15:06 +0200, Roland Schopf wrote:
 > > I have a similar problem here with a degree symbol. In ISOLat1.ent
 > > deg is defined as
 > > <!ENTITY deg    CDATA "&#176;" -- degree sign -->
 > > 
 > > After generating HTML I always get °, and not &#176; as expected 
 > > &amp; is working perfectly ok, producing &#38;
 > > 
 > > I use OJ 1.3 and SP_Encoding is set to utf-8.
 > > 
 > > Any idea how to solve this?

Do you identify the charset as UTF-8 in the HTTP headers or in a
<meta> element in the head of your HTML?

Without any indication of the character set, your browser is probably
assuming ISO 8859-1, and the encoding of character number 176 is
different in ISO 8859-1 and in UTF-8.  For starters, it takes two
bytes in UTF-8.

You should be able to set the encoding used for the page from the
browser's menus just to test if that is the problem.


Tony Graham
Tony Graham                            mailto:tgraham@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML

 DSSSList info and archive:

Current Thread