🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #208959

Re: {slrn} build 234: 2 small probs

#208959
From: andrew
Date: Fri, 19 Oct 2007 00:51
45 lines
2279 bytes
On 2007-10-19, John E. Davis <jed@jedsoft.org> wrote:
> On 18 Oct 2007 22:06:32 GMT, andrew <andrew@ilium.invalid>
> wrote:
>> MID: <5npp2lFi2m6sU1@mid.individual.net>
>> slrn: From: "<D6>jevind L<E5>ng" <bredband.net@ojevind.lang>
>> Should be: From: "Öjevind Lång".......
>
> A message with this message-id is not (yet?) on my server.  I imagine
> that no character-set has been specified in the header.  Does
> commenting out the header-skipping-while-loop in the
> mime.c:guess_unknown_charset function resolve the problem?  If so,
> does it cause other problems?


Do you mean this section:

   /* Skip header */
   while ((line != NULL) && (line->flags & HEADER_LINE))
     line = line->next;
   
   while (line != NULL)
     {
	unsigned char *p, *pmax, ch;
	unsigned int nconsumed;
	SLwchar_Type wch;

	p = (unsigned char *)line->buf;
	while (((ch = *p) != 0) && ((ch & 0x80) == 0))
	  p++;
	
	if (ch == 0)
	  {
	     line = line->next;
	     continue;
	  }

	pmax = p + strlen ((char *)p);

   Andrew

-- 
Among the tales of sorrow and of ruin that come down to us
from the darkness of those days there are yet some in which
amid weeping there is joy and under the shadow of death light
endures ...
Technical Details
Message-ID: <slrnfhfvos.a06.andrew@ilium.invalid>
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!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnfhfm48.36g.andrew@ilium.invalid> <slrnfhftrn.uoc.jed@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfhfvos.a06.andrew@ilium.invalid>
Subject: Re: {slrn} build 234: 2 small probs
Date: Fri, 19 Oct 2007 00:51:08 +0000
From: andrew <andrew@ilium.invalid>
References: <slrnfhfm48.36g.andrew@ilium.invalid> <slrnfhftrn.uoc.jed@aluche.mit.edu>
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!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: Thersites Enterprises
Lines: 45
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net PzxsZY8dIrbqvGDV86RAmAaVA1fGBsJLdRrTf7gk9lH1z2NqdD
Cancel-Lock: sha1:potj95X9WkWNRnXSYHDtV2OceCQ=
User-Agent: slrn/pre0.9.9-16 (Linux)