AW: rendering trademark in HTML using DSSSL and Navigator

Subject: AW: rendering trademark in HTML using DSSSL and Navigator
From: Roland Schopf <Roland.Schopf@xxxxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2000 15:06:22 +0200
> Hi,
> 
> 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?
> 
> Regards
> Roland
> 
> --------------------------------------------------------------------------
> -
> Roland Schopf		Sema Group GmbH
> Carl-Zeiss-Ring 6		Phone:   +49 89 996524-55
> 85737 Ismaning		Fax:     +49 89 996524-44
> GERMANY			E-Mail:roland.schopf@xxxxxxxxxxx
> --------------------------------------------------------------------------
> -
> 
> -----Ursprüngliche Nachricht-----
> Von: Deborah Greenberg Lidl [mailto:dgl@xxxxxxxx]
> Gesendet: Mittwoch, 23. August 2000 22:00
> An: DSSSList@xxxxxxxxxxxxxxxx
> Cc: Deborah Greenberg Lidl
> Betreff: Re: rendering trademark in HTML using DSSSL and Navigator
> 
> 
> On Tue, Aug 22, 2000 at 09:48:14PM -0600, Deborah Greenberg Lidl said:
> > In Netscape Navigator 4.x browsers on both BSD/OS 4.1 and Windows 98,
> > trademarks are showing up as &trade; in the text.  Registered
> trademarks,
> > service marks, and copyright are showing up as the symbols.
> > 
> > In Lynx on BSD/OS and Internet Explorer 5.0 and HotMetal PRO on Windows
> > 98, all trademarks symbols are rendered as you would expect.
> 
> Indeed, the problem seems to be with the browser.  Navigator does not
> recognize &trade; as valid.  However, Navigator does recognize &#8482;
> and renders it as [tm].  Lynx renders this code as (TM) and Internet
> Explorer renders it as a superscripted TM.
>  
> I've modified html/dbinline.dsl to use the code:
> 245c245
> <       (make entity-ref name: "trade")))))
> ---
> >       (make entity-ref name: "#8482")))))
> 
> This displays as expected in Navigator, Internet Explorer, and Lynx.
> 
> The W3C recommendation for character entity references in HTML 4
> recognizes trade for 8482.  Thus, I would argue that Navigator is
> broken and should be fixed.  However, being practical, I will modify
> the HTML DSSSL stylesheets to use 8482.
> 
> Cheers,
> Debbie 
> -- 
> Deborah Greenberg Lidl                       Toll free: 1.888.849.BSDi
> dgl@xxxxxxxx                    BSDi             Phone: 1.301.765.7945
> http://www.bsdi.com                                Fax: 1.301.765.7946
> 
> 
>  DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread