lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Lynx and Euro symbol support


From: Klaus Weide
Subject: Re: lynx-dev Lynx and Euro symbol support
Date: Sat, 20 Feb 1999 01:16:25 -0600 (CST)

On Sat, 20 Feb 1999, Jacob Poon wrote:

> On Fri, 19 Feb 1999, Leonid Pauzner wrote:
> 
> > I beleave LYCharSets.c tables should be removed one day
> > but they are still used for certain internal needs...
> > (as I understand it connects closely to HTPassEightBit* flags
> > so chars from 160-255 region _may_ be conversed to ISO Latin1 &name; 
> > entities
> > and than translated back to 8bit char on a later stage).
> 
> But this should also eventually be replaced by using functions to convert
> character entity references into numeric entity references, which will
> allow CERs (as defined in DTD) mapped to NERs bigger than 255 (eg: €) 
> to be processed properly, complete with fallback schemes.  Since all HTML
> 4.0 CERs are mapped to corresponding NERs, it is safe (in terms of data
> integrity) to do only one way conversion.
> 
> As far as HTPassEightBit* flags are concerned, 8+ bit characters should be
> converted directly into NERs, not ISO Latin-1 CERs.

Just add € or whatever to the table in entities.h (don't worry about
the old smaller table in HTMLDTD.c), and you'll see that your "should
eventually be replaced" is already the case.  At least I expect so, not
having explicitly tested this.  But I seems you haven't either.

That there are still remnants of an older mechanism doesn't mean that
the new mechanism doesnt work, right?

   Klaus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]