Article View: news.software.readers
Article #192200Re: slrn and accented characters
From: Peter J Ross
Date: Tue, 31 Oct 2006 23:26
Date: Tue, 31 Oct 2006 23:26
68 lines
3359 bytes
3359 bytes
On Tue, 31 Oct 2006 00:10:12 GMT, SINNER
<99nesorjd@gates_of_hell.invalid> wrote in news.software.readers:
> * Peter J Ross wrote in news.software.readers:
>> 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
>
> Above confirmed working in a not so clean install of 6.06, I started
> @ 2.1
My suggestions for Gnome-Terminal and Konsole also work in
Debian/Testing. The suggestion for Xterm *should* work too, but I
haven't had a chance to test it yet.
To use Slrn on the console in Debian/Testing with UTF-8 as default,
you'd probably need to apt-get console-setup and console-terminus and
then choose terminus as the console font. I can't get it to work with
"fixed" or "VGA"; not only do accents disappear but line-drawing
characters don't work either.
I also have DesktopBSD and LinuxFromScratch installed, but I set them
both up with ISO-8859-15 as default, so the problem doesn't arise.
Incidentally, I was wrong when I suggested a couple of weeks ago that
Slrn development had ceased; there's activity in the CVS repository.
I'll probably try compiling the latest source code and see if
anything relevant has changed. If not, it might be worth trying to
write a HOWTO for this frequently asked question.
> Peter, you fscking rock!
Your account has been debited with one four-pack of Bass. :-)
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:
<slrnekfmu6.5bd.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!nntp.giganews.com!wns13feed!worldnet.att.net!207.14.113.41!news.alt.net!nntp.alcatroll.com!not-for-mailReferences:
<HPx0h.9$Sl5.0@newsfe05.lga> <slrnekct0a.5hh.pjr@nntp.alcatroll.com> <ccgi14xrp5.ln2@news.gates-of-hell.com>Show Full Headers
Complete Article Headers
Message-ID: <slrnekfmu6.5bd.pjr@nntp.alcatroll.com> Subject: Re: slrn and accented characters Date: Tue, 31 Oct 2006 23:26:46 +0000 From: Peter J Ross <pjr@kookbusters.org> References: <HPx0h.9$Sl5.0@newsfe05.lga> <slrnekct0a.5hh.pjr@nntp.alcatroll.com> <ccgi14xrp5.ln2@news.gates-of-hell.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!nntp.giganews.com!wns13feed!worldnet.att.net!207.14.113.41!news.alt.net!nntp.alcatroll.com!not-for-mail Newsgroups: news.software.readers Organization: Cabal Obsidian Order [TINCOO] Lines: 68 X-Operating-System: Debian GNU/Linux (Etch/Testing) X-Kernel: Linux 2.6.17-pjr3 #1 PREEMPT User-Agent: slrn/0.9.8.1pl1 (Debian)