Discussion:
2.8.8pre.3 odd rendering of utf-8 characters
John Drinkwater
2014-01-24 16:17:10 UTC
Permalink
Hi,

Built lynx 2.8.8pre.3 on Ubuntu 12.04 with `configure --enable-widec` my
terminal defaults to LANG=en_GB.UTF-8, lynx options are the same between
versions, but I’m seeing munged character output, compared to the system
default of 2.8.8dev.9

2.8.8dev.9
← prev / next →

2.8.8pre.3
M-b~F~P prev / next M-b~F~R

Could I be building it incorrectly, or might this be a regression?

Thanks,
--
John ‘[Beta]’ Drinkwater | ***@nextraweb.com
Thomas Dickey
2014-01-24 22:08:23 UTC
Permalink
Post by John Drinkwater
Hi,
Built lynx 2.8.8pre.3 on Ubuntu 12.04 with `configure --enable-widec` my
terminal defaults to LANG=en_GB.UTF-8, lynx options are the same between
versions, but I’m seeing munged character output, compared to the system
default of 2.8.8dev.9
The --enable-widec option would work if the default curses library uses wide-characters.
It's more likely that
--with-screen=ncursesw
will do what you want.
Post by John Drinkwater
2.8.8dev.9
← prev / next →
2.8.8pre.3
M-b~F~P prev / next M-b~F~R
Could I be building it incorrectly, or might this be a regression?
"lynx -version" will tell what library you are using, e.g.,

Lynx Version 2.8.8pre.4 (11 Jan 2014)
libwww-FM 2.14, SSL-MM 1.4.1, GNUTLS 2.8.6, ncurses 5.7.20100313(wide)
Built on linux-gnu Jan 19 2014 09:51:49

Copyrights held by the Lynx Developers Group,
the University of Kansas, CERN, and other contributors.
Distributed under the GNU General Public License (Version 2).
See http://lynx.isc.org/ and the online help for more information.
--
Thomas E. Dickey <***@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
John Drinkwater
2014-01-26 16:36:26 UTC
Permalink
Post by Thomas Dickey
Post by John Drinkwater
Hi,
Built lynx 2.8.8pre.3 on Ubuntu 12.04 with `configure --enable-widec` my
terminal defaults to LANG=en_GB.UTF-8, lynx options are the same between
versions, but I’m seeing munged character output, compared to the system
default of 2.8.8dev.9
The --enable-widec option would work if the default curses library uses wide-characters.
It's more likely that
--with-screen=ncursesw
will do what you want.
That makes sense, thanks. Reconfigure and making with that option made
it work as I expected. Turns out I was missing the -dev package for
libncursesw and configure didnt fail.
Post by Thomas Dickey
Post by John Drinkwater
Could I be building it incorrectly, or might this be a regression?
"lynx -version" will tell what library you are using, e.g.,
--
John ‘[Beta]’ Drinkwater | ***@nextraweb.com
Loading...