lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Missing First Letter?


From: Tim Chase
Subject: Re: [Lynx-dev] Missing First Letter?
Date: Mon, 5 Apr 2021 09:19:46 -0500

On 2021-03-31 19:45, Thomas Dickey wrote:
> From: "Tim Chase" <lynx.dev@tim.thechases.com>
>> $ xxd -r > chime.html << EOF
>> 00000000: 3c68 746d 6c3e 3c62 6f64 793e e280 9c48 <html><body>...H
>> 00000010: 656c 6c6f 3c2f 626f 6479 3e3c 2f68 746d ello</body></htm
> 
>> there's a UTF-8 double-quote before the "Hello" as marked by the
>> bytes 0xE2, 0x80, 0x9C. 
> 
> you'll get that behavior if your locale is set to non-UTF-8, e.g,.
> "C" (using "en_US" rather than "en_US.UTF-8" may also look like
> this, depending on the terminal)

That's odd.  I get the inverse behavior from what you describe.  If I
use

  $ LANG=C lynx chime.html

I get the unicode placeholder character for the opening
fancy-double-quote and lynx displays the full "Hello", but if I do

  $ LANG=en_US.UTF-8 lynx chime.html

I get the vanishing "H".

-tim





reply via email to

[Prev in Thread] Current Thread [Next in Thread]