🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #172432

Re: [tin+Cygwin] (In)Correct display of local characters.

#172432
From: Urs Janßen
Date: Tue, 30 Aug 2005 12:16
67 lines
3432 bytes
In <43142fc2$0$74156$dbd45001@news.wanadoo.nl>, Frank Slootweg wrote:
>   That works fine, but for postings which do *not* have the proper MIME
> headers or/and in-line encoding, local language characters are not
> properly displayed when I view the article normally, but are properly
> displayed if I use <Ctrl>H to display the header and the article.

chrl-h turns on 'raw' mode which does not try to convert the article
to the local charset and skips most of the checks which are usualy done
to protect the terminal from beeing put into some strange mode via a
sequendce of control chars.

postings without mime-headers have a default charset of US-ASCII
(7bit), so they "can't" contain any bit chars like the pound sign. if
they do, they are broken.

>   When I display the article normally, i.e. without (full) headers), the
> (English currency) pound symbol in the Subject: and in the second body-
> line come out as question marks.
> 
>   However if I use <Ctrl>H, to display the full headers and then the
> body, both pound symbols are displayed correctly (i.e. as pound
> symbols).
> 
>   I know that this is an incorrect article, because it should mention
> the correct character set (ISO 8859/1) in both the Subject: and MIME
> headers, but I wonder why the behaviour without/with <Ctrl>H is
> different. FWIW, my 'DOS' Code Page is set to 850, which, AFAIK, is the
> correct one for ISO 8859/1.
> 
>   Any idea what could cause this difference in behaviour? (And if so,
> how to fix it?)

you can assign another default charset to the group/hierarchie via
the attributes file, i.e.:

scope=*
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

scope=relcom.*,ukr.*,fido7.*,ru.*
undeclared_charset=KOI8-U

scope=cn.*,alt.chinese.text
undeclared_charset=GB2312

scope=chinese.*,alt.chinese.text.big5,tw.*
undeclared_charset=Big5

scope=alt.chinese.text.hz
undeclared_charset=HZ

scope=microsoft.public.il.*
undeclared_charset=ISO-8859-8

urs
-- 
Jef Poskanzer:
"When people aren't stupid Usenet is even more useful. Too bad this happens
 so rarely."
Technical Details
Message-ID: <df1imt$mb9$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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <43142fc2$0$74156$dbd45001@news.wanadoo.nl>

Show Full Headers
Complete Article Headers
Message-ID: <df1imt$mb9$1@news2.rz.uni-karlsruhe.de>
Subject: Re: [tin+Cygwin] (In)Correct display of local characters.
Date: Tue, 30 Aug 2005 12:16:29 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <43142fc2$0$74156$dbd45001@news.wanadoo.nl>
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!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.readers
Organization: tin.org
Lines: 67
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 1125404189 22889 172.22.9.237 (30 Aug 2005
X-Complaints-To: usenet@rz.uni-karlsruhe.de
NNTP-Posting-Date: Tue, 30 Aug 2005 12:16:29 +0000 (UTC)
X-No-Archive: yes
User-Agent: tin/1.7.10-20050827 ("Grimsay") (UNIX) (Linux/2.6.11-1-686 (i686))