Re: Zero-width space

Thomas Dickey <[email protected]>
Newsgroups gmane.comp.web.lynx.devel
Message-ID <[email protected]>
On Sat, Aug 24, 2024 at 08:39:04AM -0600, rbell--- via Lynx-dev wrote:
> 	lynx displays &#8203; verbatim for me, which is the point of
> my message.
> 	I edit lynx to make lynx undisplay it.  I first tried adding
> it to the treatment of other undisplaying characters in LYCharUtils.c,
> which didn't work, had to change UCdomap.c to make lynx undisplay it.
> 
> 	I apologize for my invalid example.  I don't run UTF,
> translate UTF docs.  I've done it for so long I forgot, thought the
> &#8203; in that 'The New Yorker' article was native.

I don't see a literal &#8203; in lynx with ISO-8859-1 or 7bit approximations.
Your locale settings (and the effective options) might be relevant.

I see that "&#" is generated in SGML.c, but that would be used in the
source view, rather than the browsing view.  Checking that, with

	+ running lynx with locale C
	+ turning locale-based charset off
	+ setting document charset to UTF-8
	+ setting display charset to ISO-8859-1

and looking at the source view, I see a few numeric entities, but no 8203.
For example, 8209:

+condenast.com\u002Fuser-agreement\u002F\"\u003EUser Agreement\u003C\u002Fa\u00▒
+3E and \u003Ca href=\"http:\u002F\u002Fwww.condenast.com\u002Fprivacy-policy\u▒
+002F#privacypolicy\"\u003EPrivacy Policy\u003C\u002Fa\u003E\u003C\u002Fp\u003E▒
+","singleDangerousDek":"If, alternatively, you would like to adjust your&nbsp;▒
+e&#8209;mail&nbsp;preferences, please \u003Ca href=\"\u002Faccount\u002Fsign-i▒
+n\"\u003Esign in\u003C\u002Fa\u003E."},"useManageForSubscribe":true},"newslett▒
+erList":[{"category":"The New Yorker Newsletter","frequencyBadge":"Daily","ind

(the \u's look odd, but appear to be in the original file)

-- 
Thomas E. Dickey <[email protected]>
https://invisible-island.net
signature.asc (application/pgp-signature, 659 B)
-----BEGIN PGP SIGNATURE-----

iQGzBAABCgAdFiEEGYgtkt2kxADCLA1WzCr0RyFnvgMFAmbKDDQACgkQzCr0RyFn
vgMxwQwAzT8q4eGiBwfc1DEHHxFbcXOnzw/UEWNTbqfMqTys8TDHRpZGi38tFaz6
7ZVDBrbdl80JDmKOV6xIsXvvsclkMS4Ha9ttXLM8WSRw2EKHODgYDYvy3eeSHLj6
sRXo+LL+z6pw5bJztZDQoWe2lk85Z+3sbAB6R6CkbqZSEP4qurbUIEgwMzt/Lw28
z/WngG9UpHCUhpaQ7l1b8bEHoQ4bP0njBp4V/lJ4j2RjnWDOV/0bX7R6oZa5NJzQ
pIdUSNxFshJgxoF/GzGzMs8HdsxhINprR9GylbnGLvNbg8Lk7nJeuCRjN7vxYOWX
E/qR3/bvwJ+vWIjmycLI9Z+/hJmrOm7DH4WsgP1tupFIEEDPgh/CyUsCuZ6FgmAT
+VwcgM2vaoRa7pUPsdpkX/X39yUWTUhxYiJgSfwKDWnTkSh8pedOO6/QoNtxOx2g
O3Yh/zQ7AOYDOtj1Ym15nmKILis1ztUCPNKV4kPka7MGsaKfKy0qMN55TV3BMANC
9WUEFvZh
=7VoH
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.