🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #192136

Re: slrn and accented characters

#192136
From: Peter J Ross
Date: Mon, 30 Oct 2006 21:52
69 lines
2603 bytes
On Sat, 28 Oct 2006 00:50:47 GMT, Peter Pearson
<ppearson@nowhere.invalid> wrote in news.software.readers:

> Does any slrn user out there see accented characters
> correctly displayed?

Yes, but the method of configuring it in Ubuntu isn't obvious.

> If so, what are your settings?

I've tested the following in a clean installation of Ubuntu 6.10. It
should also work in 6.06.

1. If necessary, generate the appropriate non-UTF8 locale.

	$ sudo locale-gen en_US

2. The next step depends on the terminal you use.

2.1. Gnome-Terminal (Ubuntu default):

Change the terminal's character encoding to ISO-8859-1:

	Terminal - Set Character Encoding - Add/Remove
	Add Western (ISO-8859-1)
	Switch to the ISO-8859-1 encoding

Then set the LANG variable and open Slrn:

	$ LANG=en_US && slrn

2.2. Konsole (Kubuntu default):

Similar to Gnome-Terminal, but the character encoding is in a
different place:

	Settings - Encoding - ISO-8859-1

	$ LANG=en_US && slrn

2.3. Xterm:

You need to switch off UTF-8 support. I recommend doing this with a
menu entry:

	xterm +u8 -e env LANG=en_US slrn

2.4. Linux console:

To display accented characters in the console, you can change the
console font.

	$ sudo dpkg-reconfigure console-setup

Change the font from "fixed" to "VGA". Then run setupcon as suggested,
and start Slrn

	$ setupcon
	$ LANG=en_US && slrn

All of the above should also work with other Latin-based languages and
encodings.

PJR :-)
-- 
  _  _(o)_(o)_  _     | The fool hath said in his heart, "There is no Cabal."
._\`:_ F S M _:' \_,  | FSM: <http://www.venganza.org/>
    / (`---'\ `-.     | AUK: <http://www.netcabal.com/auk/>
 ,-`  _)    (_,   F_P | PJR: <http://insurgent.org/~pjr/>
Technical Details
Message-ID: <slrnekct0a.5hh.pjr@nntp.alcatroll.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy3no!shaw.ca!news.alt.net!nntp.alcatroll.com!not-for-mail
References: <HPx0h.9$Sl5.0@newsfe05.lga>

Show Full Headers
Complete Article Headers
Message-ID: <slrnekct0a.5hh.pjr@nntp.alcatroll.com>
Subject: Re: slrn and accented characters
Date: Mon, 30 Oct 2006 21:52:10 +0000
From: Peter J Ross <pjr@kookbusters.org>
References: <HPx0h.9$Sl5.0@newsfe05.lga>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy3no!shaw.ca!news.alt.net!nntp.alcatroll.com!not-for-mail
Newsgroups: news.software.readers
Organization: Cabal Obsidian Order [TINCOO]
Lines: 69
X-Operating-System: Debian GNU/Linux (Sarge/Stable)
X-Kernel: Linux 2.4.27-3-686
User-Agent: slrn/0.9.8.1 (Debian)