On Wed, Dec 06, 2017 at 08:31:04AM -0700, [email protected] wrote: > > 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)?
no - I haven't dug into it, but I can see that 8205 also comes out on the terminal. (also, changing def7_uni.h did not have an effect). > Why doesn't lynx use either decimal or hex instead of both? more than one developer :-) by the way, 8203 isn't in RFC 2070 -- Thomas E. Dickey <[email protected]> https://invisible-island.net ftp://ftp.invisible-island.net
signature.asc
Description: Digital signature
_______________________________________________ Lynx-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lynx-dev
