[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] HTML Copyright entity renders as M-)
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] HTML Copyright entity renders as M-) |
Date: |
Sun, 2 Jun 2024 15:58:38 -0400 |
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 <dickey@invisible-island.net>
https://invisible-island.net
smime.p7s
Description: S/MIME cryptographic signature