Quoth Mr Thomas Dickey: 'It may require some program logic
(beyond also ensuring that the number's in your locale tables).
Soft-hyphen for instance is treated specially.'
It's in conv_uni_to_pc and conv_uni_to_str in UCdomap.c.
If I change:
if (ucs == 0xfeff || (ucs >= 0x200b && ucs <= 0x200f))
to:
if (ucs == 0xfeff || (ucs > 0x200b && ucs <= 0x200f))
200b is treated as nothing, but &zwsp; is still printed out.
‌ , 0x200c , is treated as nothing
LYCharUtils.c has
/*
* Ignore 8204 (zwnj), 8205 (zwj) 8206 (lrm), and 8207 (rlm),
* for now, if we got this far without finding a representation
* for them.
*/
} else if (code == 8204 || code == 8205 ||
code == 8206 || code == 8207) {
Adding 8203 to this made no difference - does that mean a
representation was found for 8203 (200b) but not 8204 (200c)?
Why doesn't lynx use either decimal or hex instead of both?
russell bell
_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev