lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Display Unicode text in lynx run in a Putty window


From: Yong Huang
Subject: Re: [Lynx-dev] Display Unicode text in lynx run in a Putty window
Date: Mon, 30 Jun 2014 14:11:08 -0700

> On Sun, Jun 29, 2014 at 04:01:28PM -0700, Yong Huang wrote:
> > Thanks Tom. Lynx version is
> > Lynx Version 2.8.8rel.2 (09 Mar 2014)
> > libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.0.1g, ncurses 5.9.20110404
>                                                 ^^^^^^^ (problem)
> > Built on netbsd Jun 28 2014 17:07:45
> 
> ncurses comes in two flavors - in pkgsrc, I think you need the "ncursew" 
> package,
> and then (when running the configure script) to use the 
> "--with-screen=ncursesw" option.
> 
> If you look at the files in the PACKAGE directory of lynx's sources,
> you will find "lynx.spec" and debian/rules files showing typical options
> that I use for configuring lynx.
> 
> > I can get the Chinese text in GB2312 encoding to work (e.g.  the homepage of
> > cnd.org).  But I really want to get Unicode to work.  It seems more and more
> > non-European web pages use Unicode instead of language-specific encoding
> > these days.
> 
> yes... (though offhand I thought GB2312 didn't work...)
> 
> -- 
> Thomas E. Dickey <address@hidden>
> http://invisible-island.net
> ftp://invisible-island.net


Found something interesting. Earlier I was checking lynx on a NetBSD box. Lynx 
didn't correctly show a Unicode (UTF-8) encoding web page, even though the 
version is quite new. Then I check a Linux box, where Lynx version is

Lynx Version 2.8.6rel.5 (09 May 2007)
libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 1.0.0-fips, ncurses 5.7.20090207(wide)
Built on linux-gnu Aug 25 2010 15:17:35

Surprisingly, Unicode text is shown beautifully. What I need to do is: 

set "Display character set" to "UNICODE (UTF-8)"
set "Assumed document character set" to "utf-8"

set Putty Window -> Translation- -> UTF-8

Then I went back to the NetBSD box and did the same thing. Unicode characters 
are not shown as wigly wires any more, but "nubular" rectangles. Putty font is 
either Courier New or Lucida Console.

For now, I'll just use the Linux box. Thanks!




reply via email to

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