๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #25358

Re: quoted printable encoding of headers

#25358
From: Bruce Becker
Date: Thu, 29 Aug 1996 00:00
70 lines
3132 bytes
In article <slrn51tddf.1d1.ulusa@armario.lacueva.edu>,
Urko Lusa <ulusa@arrakis.es> wrote:
|Hello.
|
|I have noticed that some newsreaders encode the headers in different
|ways. For example, the subject "P๏ฟฝgina Web" (the second char is an
|aacute) is converted like that:
|
|P=?iso-8859-1?Q?=E1gina Web?=    [Netscape and maybe others]
|=?iso-8859-1?Q?P=E1gina?= Web    [slrn 0.8.8.4 and others]
|
|I use slrn, and it doesn't convert to 8 bit when the first way of
|encoding is used. TIN 1.3 unoff uses the second way, but it understands
|the first one.
|
|I would like to know if this is because of different interpretations of
|MIME encoding standars, a bug, or what.
|
|Wouldn't be better to use 8bit clean chars, even on headers?


	From RFC 1522 (which see) -


   A mail composing program claiming compliance with this specification
   MUST ensure that any string of non-white-space printable ASCII
   characters within a "*text" or "*ctext" that begins with "=?" and
   ends with "?=" be a valid encoded-word.  ("begins" means: at the
   start of the field-body or immediately following linear-white-space;
   "ends" means: at the end of the field-body or immediately preceding
   linear-white-space.) In addition, any "word" within a "phrase" that
   begins with "=?" and ends with "?=" must be a valid encoded-word.

   A mail reading program claiming compliance with this specification
   must be able to distinguish encoded-words from "text", "ctext", or
   "word"s, according to the rules in section 6, anytime they appear in
   appropriate places in message headers.  It must support both the "B"
   and "Q" encodings for any character set which it supports.  The
   program must be able to display the unencoded text if the character
   set is "US-ASCII".  For the ISO-8859-* character sets, the mail
   reading program must at least be able to display the characters which
   are also in the ASCII set.


	Also, note that:


   An "encoded-word" is defined by the following ABNF grammar.  The
   notation of RFC 822 is used, with the exception that white space
   characters MAY NOT appear between components of an encoded-word.


	By the above, it appears that your first example is
	illegal in 2 ways -


		1. does not begin with "linear-white-space";


		2. contains a SPACE character.


-- 
  ,u,	 Bruce Becker		Toronto, Ontario	1 416 699 1868
a /i/	 Internet: bdb@gts.org	Uucp: ...!gts!bdb
 `\o\-e	 "The Gates Motel - users check in but they never check out"
 _< /_								- Windfall 95

Technical Details
Message-ID: <Dwwn3L.Mu4@GTS.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.mbox.zip!not-for-mail
References: <slrn51tddf.1d1.ulusa@armario.lacueva.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Dwwn3L.Mu4@GTS.Net>
Subject: Re: quoted printable encoding of headers
Date: Thu, 29 Aug 1996 00:00:00 +0000
From: bdb@GTS.Net (Bruce Becker)
References: <slrn51tddf.1d1.ulusa@armario.lacueva.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.mbox.zip!not-for-mail
X-Deja-AN: 177368290
Organization: G.T.S., Toronto, Ontario
Newsgroups: news.software.readers