🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #155695

Re: 8-bit display in tin

#155695
From: Urs Janßen
Date: Wed, 15 Sep 2004 19:46
38 lines
2337 bytes
In <53f9a8a5.0409151000.11b6fef4@posting.google.com>, Lars Jorgensen wrote:
> I may be asking the most stupid question here, but I have forgotten
> how to compile tin to display Danish characters in the articles.

it should work out of the box if you set your locales right (e.g.
LC_CTYPE=da_DK.ISO-8859-1) and the used charset if propper declared.

> Characteristics:
> +CHARSET_CONVERSION
>         +MULTIBYTE_ABLE +NO_LOCALE

ok, you told tin _not_ to use locales at all (via --disable-locale).
usualy a bad idea, but the internal fallback is ISO-8859-1 which
inclues danish chars, so it should work for you.

but if the articles fails to declare the used charset in the
mime-headers us-ascci is assumed and the 8bit chars are replaced by
?. you can tell tin to assume a diffrent charset (e.g ISO-8869-1) via
the undeclared_charset option in attributes, e.g.:

scope=fr.*,no.*,se.*,dk.*
undeclared_charset=ISO-8859-1

scope=pl.*,cz.*,hin.*,sk.*,hr.*
undeclared_charset=ISO-8859-2

scope=fj.*,japan.*
undeclared_charset=ISO-2022-JP-2

scope=han.*
undeclared_charset=EUC-KR

# ...

see tin(5) and doc/umlauts.txt for details about locales and the
attributes file.

HTH, urs
Technical Details
Message-ID: <cia66u$227$1@news2.rz.uni-karlsruhe.de>
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!border2.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <53f9a8a5.0409151000.11b6fef4@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <cia66u$227$1@news2.rz.uni-karlsruhe.de>
Subject: Re: 8-bit display in tin
Date: Wed, 15 Sep 2004 19:46:38 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <53f9a8a5.0409151000.11b6fef4@posting.google.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!border2.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: tin.org
Lines: 38
Sender: Urs Janßen <urs@akk10-int.akk.uni-karlsruhe.de>
NNTP-Posting-Host: akkuser-dmz.akk.uni-karlsruhe.de
X-Trace: news2.rz.uni-karlsruhe.de 1095277598 2119 172.22.9.237 (15 Sep 2004
X-Complaints-To: usenet@rz.uni-karlsruhe.de
NNTP-Posting-Date: Wed, 15 Sep 2004 19:46:38 +0000 (UTC)
X-No-Archive: yes
User-Agent: tin/1.7.7-20040914 ("Baleshare") (UNIX) (Linux/2.4.26-1-686 (i686))