[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Lynx and Euro symbol support
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev Lynx and Euro symbol support |
Date: |
Fri, 19 Feb 1999 23:37:46 +0300 (MSK) |
19-Feb-99 13:32 Jacob Poon wrote:
> Regarding the new Euro symbol, apparantly current Lynx development code
> does not support the Euro character on all Lynx-supported display
it does supports
> character set. The key reason is, there is no 7-bit approximation of Euro
> symbol that Lynx can fall back to.
You are misguided by obsolete comments in src/LYCharSets.c.
Current character translation mechanism based on tables
from src/chrtrans/*.tbl which allows multichars replacements,
and 7-bit approximation are from def7_uni.tbl table
(with "U+20AC:EUR" entry for EURO, literrally
"EUR" replacement string for Unicode 0x20AC symbol)
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).
> Anyway, there's more that contributes to lack of full Euro support. The
> 7-bit approximations table in file src/LYCharSets.c must match exactly the
> table referred to in the DTD. The problem for this is, the DTD table in
> HTMLDTD.c is static, which means adding support to Euro (or any entity
> refernces) will be very awkward, because HTMLDTD.c and all the
> approximations in LYCharSets.c must be completely updated or it will break
> Lynx.