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

Bug#790847: marked as done (Fwd: Emoji in lynx)



Your message dated Mon, 7 Mar 2016 18:46:49 +0100
with message-id <20160307174649.GA28660@aurel32.net>
and subject line Re: Bug#790847: marked as done (Fwd: Emoji in lynx)
has caused the Debian Bug report #790847,
regarding Fwd: Emoji in lynx
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
790847: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=790847
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lynx
Version 2.8.9dev1-2

[I hope you don't mind that I'm reporting this to Debian via an HTML e-mail, but it's kind of difficult to show the problem without pictures. Also, apologies for having told lynx-dev already; next time I'll follow the rules. -- Sascha]

Is it a known problem that lynx doesn't display Emoji?

To reproduce, install some Emoji font:
$ sudo wget "https://github.com/googlei18n/noto-emoji/blob/master/NotoEmoji-Regular.ttf?raw=true" -o /usr/share/fonts/truetype/noto/NotoEmoji-Regular.ttf 

The following works as expected:
$ lynx -dump https://en.wikipedia.org/wiki/Emoji | grep 1F60x
   U+1F60x 😀 😁 😂 😃 😄 😅 😆 😇 😈 😉 😊 😋 😌 😍 😎 😏

Here's a screenshot, just in case:

Inline image 2

However, when I use lynx to open https://en.wikipedia.org/wiki/Emoji (without -dump), it looks very empty. Note that this is in the same terminal that had no problem rendering the Emoji in “lynx -dump | grep” just fine.

Inline image 1

Just speculating, is this is really a lynx problem, or is perhaps ncurses broken for Unicode codepoints above U+0FFFF?

$ lynx --version
Lynx Version 2.8.9dev.1 (12 Mar 2014)
libwww-FM 2.14, SSL-MM 1.4.1, GNUTLS 3.3.8, ncurses 5.9.20140913(wide)
Built on linux-gnu Nov  8 2014 17:56:17

$ uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

$ ncurses5-config --version
5.9.20140913

Best,

-- Sascha



--- End Message ---
--- Begin Message ---
Version: 2.22-1

On 2015-10-06 12:01, Axel Beckert wrote:
> Hi Thomas,
> 
> Debian Bug Tracking System wrote:
> > Your message dated Tue, 6 Oct 2015 05:22:07 -0400
> > with message-id <20151006092207.GA6683@vmw-debian7-64.jexium-island.net>
> > and subject line Re: Bug#790847: Fwd: Emoji in lynx
> > has caused the Debian Bug report #790847,
> > regarding Fwd: Emoji in lynx
> > to be marked as done.
> > 
> > This means that you claim that the problem has been dealt with.
> > If this is not the case it is now your responsibility to reopen the
> > Bug report if necessary, and/or fix the problem forthwith.
> [...]
> > Further checking in Debian/testing shows me that wcwidth() is returning -1's
> > for these values (which is incorrect, it should return 1's).
> 
> Thanks for the investigation!
> 
> > Lynx is behaving correctly for this case -- it has no way to tell
> > that the characters "should" print as expected.
> 
> Please don't close bugs just because they're not a bug in the package
> they were reported against. That it's not a bug in Lynx doesn't mean
> it's no bug at all. The correct handling is to reassign the bug to the
> package causing the bug.
> 
> Hence I'm reopening the bug again and reassigning it to the libc6
> package.
> 

It happens these emojis are new in Unicode 6.0. glibc 2.21 only has
support for Unicode 5.0. This has been fixed in glibc 2.22 which
includes support for Unicode 7.0. I am therefore closing the bug.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

--- End Message ---

Reply to: