🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205545

Re: What is with the From field containing UTF-8 stuff?

#205545
From: Peter J Ross
Date: Mon, 10 Sep 2007 11:17
40 lines
2610 bytes
In news.software.readers on Sun, 09 Sep 2007 13:13:04 -0300, Shmuel
(Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:

> In <slrnfe140m.6g8.pjr@pjr.gotdns.org>, on 09/06/2007
>    at 11:41 PM, Peter J Ross <pjr@example.invalid> said:
>
>>The relevant RFC would permit Google to use UTF-8 in headers,
>
> What relevant RFC? An encoded word in RFC 2047 contains only ASCII
> characters.

RFC 3977, from which I quote part of section 10.2, page 101:

   o  The names of headers (e.g., "From" or "Subject") MUST be in
      US-ASCII.

   o  Header values SHOULD use US-ASCII or an encoding based on it, such
      as RFC 2047 [RFC2047], until such time as another approach has
      been standardised.  At present, 8-bit encodings (including UTF-8)
      SHOULD NOT be used because they are likely to cause
      interoperability problems.

<http://tools.ietf.org/rfc/rfc3977.txt>

So UTF-8 is permitted to the extent that SHOULD and SHOULD NOT are
more permissive than MUST and MUST NOT.

The latest USEFOR draft (which may conceivably become an RFC during
our lifetimes) is more restrictive, which is probably a good thing.
Section 2.2, page 10, says:

   o  The character set for header fields is US-ASCII.  Where the use of
      non-ASCII characters is required, they MUST be encoded using the
      MIME mechanisms defined in [RFC2047] and [RFC2231].

<http://tools.ietf.org/id/draft-ietf-usefor-usefor-12.txt>


-- 
PJR :-)
Technical Details
Message-ID: <slrnfea9tl.itq.pjr@pjr.gotdns.org>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
References: <46e429a0$17$fuzhry+tra$mr2ice@news.patriot.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfea9tl.itq.pjr@pjr.gotdns.org>
Subject: Re: What is with the From field containing UTF-8 stuff?
Date: Mon, 10 Sep 2007 11:17:09 +0000
From: Peter J Ross <pjr@example.invalid>
References: <46e429a0$17$fuzhry+tra$mr2ice@news.patriot.net>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
Reply-To: pjr.spam@gmail.com
User-Agent: slrn/0.9.8.1pl2.1 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 40
NNTP-Posting-Date: 10 Sep 2007 06:17:09 CDT
X-Trace: DXC=_oCoCC<LZ5@^U?2PSQ;
 N\E]AGWjF5PjPI465Ue@WB_5OGITIbNDEe[O26Z<EbT:a\ElV3mi\haFgH[\J[m5T^07EO`CT2Xh^]8J
X-Original-Bytes: 2346