🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Hesiod Sun, 31 Oct 2004 23:21
slrn and utf-8
#157727
Author: Hesiod
Date: Sun, 31 Oct 2004 23:21
42 lines
1907 bytes
Hi,

Would anyone have any good links or hints on getting slrn to work fully
with a uxterm and utf-8 locale?  I've googled but the pickings are slim.

I use the debian sid package of slrn: Version: 0.9.8.1-3

I am seeing the tell-tale 'box' glyphs in various posts and names in
slrn.

In my .slrnrc there does not appear to be a valid utf8 charset option.
So perhaps I need to compile a custom package?  Just looking for some
leads.  Is it an slang issue?

My locale:

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Mutt and uxterm work flawlessly, so it would be great to get this most
excellent of newsreaders working with utf-8 as well. TIA.

Cheers,

Hesiod

-- 
"Never put off till tomorrow what you can do the day after." 
                                         --Alphonse Allais
Re: slrn and utf-8
#157759
Author: Jens Wahnes
Date: Mon, 01 Nov 2004 13:36
26 lines
2068 bytes
Hesiod wrote:

> Would anyone have any good links or hints on getting slrn to work fully
> with a uxterm and utf-8 locale?

There is no full UTF-8 support in slrn as of now.  Slang2 will have
Unicode support and thus the overall Unicode situation of slrn will
(hopefully) improve soon.  The currently available patched versions of
slang that introduce Unicode support usually render other parts of the
library unusable, which leads to strange effects (such as segfaults
when the delete key is pressed repeatedly).  With current "official"
slrn versions, UTF-8 can only be mapped to a local 256 character
charset, which means that e.g. characters in iso-8859-1 that are
encoded in UTF-8 can be decoded and displayed, but full Unicode support
is not available.  There is a macro that comes with slrn (latin2.sl)
that shows how one can easily map Unicode characters the to local
charset.  Unfortunately, that's about all slrn can do about UTF-8
currently.


Jens

-- 
"What is robbing a bank compared with founding a bank?"

        - Bertolt Brecht
Re: slrn and utf-8
#157792
Author: Thomas Schultz
Date: Tue, 02 Nov 2004 00:03
21 lines
1818 bytes
* Hesiod [2004-10-31 23:21] :

> Would anyone have any good links or hints on getting slrn to work fully
> with a uxterm and utf-8 locale?  I've googled but the pickings are slim.

Short answer: Sorry, we don't have full utf-8 support yet.

Somewhat longer answer: John E. Davis just released a snapshot of the
upcoming version 2 of the slang library that will allow full utf-8
support and provided me with a patch which I just integrated into
slrn. I hope to have a first development version with utf-8 support
out in the near future.

Just to water your mouth, I made a quick screenshot of my current
development version displaying Hebrew and Russian characters at the
same time: <http://slrn.sourceforge.net/images/slrn-utf8.png>
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2004-10-07] Released slrn 0.9.8.1
| Home of the slrn newsreader | [2003-08-25] Released slrn 0.9.8.0
| http://slrn.sourceforge.net | [2003-08-19] New slrn FAQ available
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads