lynx-dev
[Top][All Lists]
Advanced

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

Re: [Lynx-dev] Problem displaying gopherspace UTF-8 on ARM (Raspberry Pi


From: Héctor A . Abreu
Subject: Re: [Lynx-dev] Problem displaying gopherspace UTF-8 on ARM (Raspberry Pi)
Date: Fri, 15 Jan 2016 08:30:02 -0500
User-agent: Mutt/1.5.23 (2014-03-12)

Hello,

>
> What is "Raspbian Jessie Lite", I only know "Raspbian Jessie", but no
> "Lite" version of Raspbian.

It's the non-GUI image of Raspbian Jessie. See 
https://www.raspberrypi.org/downloads/raspbian/ 

>
> How have you set the computer locale to UTF-8?

I run raspi-config from the command line. The output for locale is as follows:

address@hidden:~ $ locale
LANG=es_US.UTF-8
LANGUAGE=
LC_CTYPE="es_US.UTF-8"
LC_NUMERIC="es_US.UTF-8"
LC_TIME="es_US.UTF-8"
LC_COLLATE="es_US.UTF-8"
LC_MONETARY="es_US.UTF-8"
LC_MESSAGES="es_US.UTF-8"
LC_PAPER="es_US.UTF-8"
LC_NAME="es_US.UTF-8"
LC_ADDRESS="es_US.UTF-8"
LC_TELEPHONE="es_US.UTF-8"
LC_MEASUREMENT="es_US.UTF-8"
LC_IDENTIFICATION="es_US.UTF-8"
LC_ALL=

The only strange thing I see is "LANGUAGE=" which contrast with my non-ARM 
Linux boxes (HP Laptop with Lubuntu, AMD with Debian Jessie LXDE), which show 
"LANGUAGE=es_US:es", but I don't know if it has anything to do with the problem 
because Lynx on Raspberry Pi displays gopher utf-8 correctly for http, but not 
for gopher.

>
> I haven't this issue with normal Debian 8 Jessie and that URL in Lynx.
> Displays fine.

Same thing here. The problem is on Raspberry Pi with Raspbian.

> > > Characters are displayed incorrectly on gopher...  but only when I use 
> > > Lynx
> > > on Raspberry Pi.
>
> Okay. Strange. Can you post the output of "apt-cache show lynx-cur"
> and "env | egrep 'LANG|LC_'" on that machine?

address@hidden:~ $ apt-cache show lynx-cur | less
Package: lynx-cur
Version: 2.8.9dev1-2+deb8u1
Architecture: armhf
Maintainer: Atsuhito KOHDA <address@hidden>
Installed-Size: 4615
Depends: libbsd0 (>= 0.0), libbz2-1.0, libc6 (>= 2.15), libgcrypt20 (>= 1.6.0), 
libgnutls-deb0-28 (>= 3.3.0), libidn11 (>= 1.13), libncursesw5 (>= 
5.6+20070908), libtinfo5, zlib1g (>= 1:1.2.3.3)
Recommends: mime-support
Conflicts: lynx (<< 2.8.7dev9-1.1), lynx-cur-wrapper (<< 2.8.8dev.8-2), lynx-ssl
Provides: news-reader, www-browser
Multi-Arch: foreign
Homepage: http://lynx.isc.org/
Priority: extra
Section: web
Filename: pool/main/l/lynx-cur/lynx-cur_2.8.9dev1-2+deb8u1_armhf.deb
Size: 1538644
SHA256: 178bb848e2058794d67af2896abae8440b5ed8c950b5fb41c395a0d3896f632d
SHA1: 22dc9dae294280310eef8c6ca18194d06317f171
MD5sum: f1651bb59c804b526c6bd3bce54cdfc1
Description: Text-mode WWW Browser with NLS support (development version)
 Lynx is a fully-featured World Wide Web (WWW) client for users running
  cursor-addressable, character-cell display devices.
   It is very fast and easy to use. It will display HTML documents
    containing links to files residing on the local system,
     as well as files residing on remote systems running Gopher, HTTP, FTP,
      WAIS, and NNTP servers.
       .
        This package contains a development version of lynx.
        Description-md5: 81ee4f1d0736a86ce9280e724bd4a457

address@hidden:~ $ env | egrep 'LANG|LC_'
LANG=es_US.UTF-8

> > Perhaps the pre-built package links with ncurses rather than
> > ncursesw.
>
> At least not on Debian 8 Jessie. And as far as I know, Raspian tries
> to be as close as possible to Debian. So I don't expect to change
> that.

I don't know how important are the differences between Debian and Raspbian, I 
am not familiar with the details. They talk about that here: 
https://wiki.debian.org/RaspberryPi 

I guess my bet will be to follow Thomas Dickey's recommendation on ncursesw. I 
will test that ASAP and will provide you guys with feedback.

Thank you very much for your help.
-- 
Héctor
On Fri, Jan 15, 2016 at 08:26:17AM +0100, Axel Beckert wrote:
> Hi,
> 
> On Thu, Jan 14, 2016 at 09:23:27PM -0500, Thomas Dickey wrote:
> > On Tue, Jan 12, 2016 at 06:31:24AM -0500, Héctor A. Abreu wrote:
> > > I installed Lynx using "aptitude install" on my Raspberry Pi 2 (Raspbian
> > > Jessie Lite).
> 
> What is "Raspbian Jessie Lite", I only know "Raspbian Jessie", but no
> "Lite" version of Raspbian.
> 
> > > I set computer locale and browser to UTF-8 and have no problem
> > > to view UTF-8 on http, for example 
> > > http://www.columbia.edu/kermit/utf8.html
> 
> How have you set the computer locale to UTF-8?
> 
> > > The problem is when I try to do the same thing on gopher, for example
> > > gopher://z3bra.org:70/0/notes/vim/digraphs.txt
> 
> I haven't this issue with normal Debian 8 Jessie and that URL in Lynx.
> Displays fine.
> 
> > > Characters are displayed incorrectly on gopher...  but only when I use 
> > > Lynx
> > > on Raspberry Pi.
> 
> Okay. Strange. Can you post the output of "apt-cache show lynx-cur"
> and "env | egrep 'LANG|LC_'" on that machine?
> 
> > > Lynx displays gopher UTF-8 correctly from my non-ARM Linux
> > > boxes (HP Laptop with Lubuntu, AMD with Debian).
> 
> Indeed.
> 
> > > Should I compile Lynx myself on ARM instead of using "aptitude install"?
> > 
> > Perhaps the pre-built package links with ncurses rather than
> > ncursesw.
> 
> At least not on Debian 8 Jessie. And as far as I know, Raspian tries
> to be as close as possible to Debian. So I don't expect to change
> that.
> 
>               Kind regards, Axel
> -- 
> /~\  Plain Text Ribbon Campaign                   | Axel Beckert
> \ /  Say No to HTML in E-Mail and News            | address@hidden  (Mail)
>  X   See http://www.nonhtmlmail.org/campaign.html | address@hidden 
> (Mail+Jabber)
> / \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ 
> (Web)



reply via email to

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