On Sat, Jun 01, 2024 at 11:55:06PM -0500, Aiden Woodruff wrote: > Hi Lynx team, > > When viewing the HTML © entity, it's rendered as `M-)`. Is this the > expected behavior? When I change character mode to ASCII it renders as `(c)` > which is what I expect, but my terminal supports printing Unicode (as > confirmed > with printf). Shouldn't it render the Unicode symbol instead of `M-)`?
It's a configuration detail - assuming that lynx is compiled with ncursesw,
(the wide-character library), then in the options menu you should have
locale-based character set = ON
display character set = UNICODE (UTF-8)
(if the first isn't set, lynx will ignore your locale).
If lynx's not using the wide-character library, that copyright symbol gets
interpreted as a "meta" character, and displayed in that form:
Copyright symbol is 0xA9.
")" is 0x29.
The difference is 0x80 (128).
--
Thomas E. Dickey <[email protected]>
https://invisible-island.net
smime.p7s
Description: S/MIME cryptographic signature
