🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47885

Re: supporting odd characters

#47885
From: 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.

Technical Details
Message-ID: <87itt0g94j.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <PM00036EFD6D6E23EF@cobalt.oceania.com>

Show Full Headers
Complete Article Headers
Message-ID: <87itt0g94j.fsf@erlenstar.demon.co.uk>
Subject: Re: supporting odd characters
Date: Wed, 16 Aug 2000 00:00:00 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <PM00036EFD6D6E23EF@cobalt.oceania.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 659103013
X-Mayan-Date: Long count = 12.19.7.8.8; tzolkin = 3 Lamat; haab = 11 Yaxkin
X-Complaints-To: andrew@erlenstar.demon.co.uk
Organization: disorganised
X-Attribution: AG
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-P-Persistent-Headers: are a bad idea.
Newsgroups: news.software.nntp
X-Post-Filter: postfilter v0.6 alpha