🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Johnny Favorite Wed, 16 Aug 2000 00:00
supporting odd characters
#47884
Author: Johnny Favorite
Date: Wed, 16 Aug 2000 00:00
25 lines
1546 bytes
You guys might remember me from a few months ago.  I was asking questions
about NEWNEWS and other various algorithms to get articles from NNTP
servers.  Then I discovered that writing a GUI newsreader is about 2 percent
NNTP and 98 percent GUI, so I haven't needed to come back.

It nearly killed me but I've finally written a more or less semi-usable
newsreader, which I'm using to post this message.  Still a lot of details to
fix, though.  In particular I don't have any support for weird character
sets at all right now.

Here's a sample From line which I don't handle correctly:

From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=)

What am I supposed to do with all those weird equals signs and question
marks and stuff?

I assume there's RFCs for this kind of stuff but so far I haven't been able
to turn them up.

P.S.: where's Curt Welch?
--
http://www.concentric.net/~brunsona/pineapplenews.html

Re: supporting odd characters
#47885
Author: Andrew Gierth
Date: Wed, 16 Aug 2000 00:00
25 lines
1746 bytes
>>>>> "Wrote" == Wrote His Own Newsreader <Johnny> writes:

 Wrote> It nearly killed me but I've finally written a more or less
 Wrote> semi-usable newsreader, which I'm using to post this message.
 Wrote> Still a lot of details to fix, though.  In particular I don't
 Wrote> have any support for weird character sets at all right now.

 Wrote> Here's a sample From line which I don't handle correctly:

 Wrote> From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=)

 Wrote> What am I supposed to do with all those weird equals signs and
 Wrote> question marks and stuff?

RFC 2047 is the one you want for that. You'll need to read 2045 and
2046 as well, I expect.

Note that there are or soon will be three possible ways you might get
funny characters in headers: encoded as per 2047, just given as-is in
some arbitrary charset, or in UTF-8.

-- 
Andrew.

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