🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8083

Re: ISO trash in Subject: line ?

#8083
From: Martin Forssen
Date: Tue, 22 Oct 1996 00:00
51 lines
2243 bytes
kris@koehntopp.de (Kristian K�hntopp) writes:
>c15o@zfn.uni-bremen.de (Thilo Wunderlich) writes:
>>Is there a way to deal with such Subject: lines ?
>http://www.netuse.de/~kk/nn-6.5.1.patch.gz
>is a patch relative to nn-6.5.1.tar.gz. This patch is more
>advanced that the nn-6.5.0.b3-patch I posted to this newsgroup
>some time ago.

>It adds support for several character sets and RFC 1521 and RFC
>1522 _de_coding. I am not currently working on further
>development of this patch due to severe working overload, but I
>will return to the nn sources for more MIME support at some
>undetermined future time. Currently there is no support for
>_en_coding and only rudimentary code for it.

Code like this is desperately needed in nn. Michael are you listening?
I tried the patch above but had a couple of problems. Firstly it
assumes that one have some data-files which were not included but
which one can generate with recode; I choose to remove the references
to them . The other problem was a genuine bug; tolower is sometimes
implemented as a macro and it is therefore not a good idea to increment
the arguments in the call. A patch is enclosed below.

	/MaF

*** chset.c.old	Tue Oct 22 10:54:56 1996
--- chset.c	Tue Oct 22 10:45:12 1996
***************
*** 149,156 ****
      if (p == NULL)
  	return NULL;
  
!     while (*p) 
! 	*p = tolower(*p++);
  
      return q;
  }
--- 149,158 ----
      if (p == NULL)
  	return NULL;
  
!     while (*p) {
! 	*p = tolower(*p);
! 	p++;
!     }
  
      return q;
  }

Technical Details
Message-ID: <54i2ta$764@nyheter.chalmers.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <540i58$8qs@gina.zfn.uni-bremen.de> <54adup$g9k@white.koehntopp.de>

Show Full Headers
Complete Article Headers
Message-ID: <54i2ta$764@nyheter.chalmers.se>
Subject: Re: ISO trash in Subject: line ?
Date: Tue, 22 Oct 1996 00:00:00 +0000
From: maf@math.chalmers.se (Martin Forssen)
References: <540i58$8qs@gina.zfn.uni-bremen.de> <54adup$g9k@white.koehntopp.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 191680825
Distribution: inet
Content-type: text/plain; charset=ISO-8859-1
Organization: Dept. of Mathematics, Chalmers, Sweden
Mime-version: 1.0
Newsgroups: news.software.nn