[gopher] Raspberry Pi, Gopher and UTF-8
Héctor A. Abreu
habreu71 at gmail.com
Tue Jan 12 12:32:37 UTC 2016
Great! I will give it a try on my Raspberry Pi ASAP.
Regards,
--
Héctor
On Tue, Jan 12, 2016 at 01:20:40PM +0100, Mateusz Viste wrote:
> I'm not 100%, but you might be referring to my gopherus client:
> http://gopherus.sourceforge.net/
>
> Mateusz
>
>
>
> On 12/01/2016 13:09, Kim Holviala wrote:
> >Howdy,
> >
> >I'm 99% sure the problem is not in Rasbian vs. Debian proper - the problem is actually in Gopher protocol which doesn't specify any charset (it hints that Latin-1 could be used) and in Lynx which apparently just obeys the protocol and console locale settings. OverbiteFF, or actually Firefox, will allow you to override any charset so you can almost always get proper chars on screen, but I'm not sure if such overrides exist in Lynx (elinks does have charset overriding but it doesn't support gopher).
> >
> >There was a new console gopher client announced on this list a year ago? I can't remember it's name but search the archives - it does exist.
> >
> >
> >- Kim
> >
> >
> >>On 12 Jan 2016, at 14:00, Héctor A. Abreu <habreu71 at gmail.com> wrote:
> >>
> >>Thank you for your reply, Kim.
> >>
> >>I just sent a question about this problem to the Lynx web browser developers email list. I basically need a command line based client to view UTF-8 gopher correctly from ARM low cost ssh server. I have tested on Raspberry Pi (with and without ssh) but I haven't tested on Beaglebone Black, which is supposed to use the "real" Debian (compared to Raspbian), and I am not sure if that has anything to do with the problem.
> >>
> >>I don't understand why the same client (Lynx) on the same platform (Raspberry Pi) will display UTF-8 correctly for http but incorrectly for gopher. It means that the problem is not the computer or the browser's UTF-8 settings.
> >>
> >>If the Lynx guys help me I will share the solution with this list. Otherwise, I guess I will need to test with another gopher command line based client (I will probably check w3m) or start developing one myself.
> >>
> >>Regards,
> >>--
> >>Héctor
> >>On Mon, Jan 11, 2016 at 08:53:53AM +0200, Kim Holviala wrote:
> >>>Hi,
> >>>
> >>>Having tested different charsets across gopher servers and clients, the only thing that ever worked properly was 7-bit US-ASCII. Yes, you can try using others like Latin-1 or UTF-8 but the results vary and I'm willing to bet that most users will get a broken screen (unless they know how to mess with browser settings).
> >>>
> >>>
> >>>- Kim
> >>>
> >>>
> >>>
> >>>>On 11 Jan 2016, at 00:30, Héctor A. Abreu <habreu71 at gmail.com> wrote:
> >>>>
> >>>>Hi,
> >>>>
> >>>>I am having problems to view utf-8 on the gopherspace when using a Raspberry Pi with clients Lynx and Gopher cli on Raspbian Jessie. For example, the links below:
> >>>>
> >>>>http link: http://www.columbia.edu/kermit/utf8.html
> >>>>gopher link: gopher://z3bra.org:70/0/notes/vim/digraphs.txt
> >>>>
> >>>>On the Raspberry Pi, http link will display utf-8 correctly with Lynx, but gopher link will fail to display correctly with both Lynx and Gopher from bash.
> >>>>
> >>>>On my other Linux boxes (HP Laptop with Lubuntu, AMD with Debian Jessie LXDE) both links will work fine with Lynx, but Gopher cli will fail to display gopher link characters correctly.
> >>>>
> >>>>If anyone in this list is able to view gopher links with utf-8 correctly on a Raspberry Pi using Lynx or Gopher from bash please let me know. I think I took care of the locale correctly, otherwise it should not display http link correctly with Lynx. That's why I think this might be an issue related to gopher.
> >>>>
> >>>>Thank you in advance for your help.
> >>>>--
> >>>>Héctor
> >>>>
> >>>>_______________________________________________
> >>>>Gopher-Project mailing list
> >>>>Gopher-Project at lists.alioth.debian.org
> >>>>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project
> >>>>
> >>>
> >>>
> >>>_______________________________________________
> >>>Gopher-Project mailing list
> >>>Gopher-Project at lists.alioth.debian.org
> >>>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project
> >>
> >>_______________________________________________
> >>Gopher-Project mailing list
> >>Gopher-Project at lists.alioth.debian.org
> >>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project
>
>
>
> _______________________________________________
> Gopher-Project mailing list
> Gopher-Project at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/gopher-project
More information about the Gopher-Project
mailing list