Article View: news.software.readers
Article #111256Re: Quick question on encoded words (RFC2048)
From: J.B. Moreno
Date: Thu, 10 Oct 2002 21:18
Date: Thu, 10 Oct 2002 21:18
55 lines
2374 bytes
2374 bytes
Marcus M�nnig <usenet-oct02@40tude.com> wrote:
> With F6 being � in iso-8859-1 are these decodings correct, regarding space
> between coded words?
>
> "=?iso-8859-1?Q?=F6?=" -> "�"
Yes.
> "=?iso-8859-1?Q?=F6?= =?iso-8859-1?Q?=F6?=" -> "��"
No. "� �"
> "=?iso-8859-1?Q?=F6?= =?iso-8859-1?Q?=F6?=" -> "��"
Likewise.
> "=?iso-8859-1?Q?=F6?=A=?iso-8859-1?Q?=F6?=" -> "�A�"
Illegal encoding, space between encoded words required.
From 2047
Ordinary ASCII text and 'encoded-word's may appear together in the
same header field. However, an 'encoded-word' that appears in a
header field defined as '*text' MUST be separated from any adjacent
'encoded-word' or 'text' by 'linear-white-space'.
> "=?iso-8859-1?Q?=F6?= A=?iso-8859-1?Q?=F6?=" -> "�A�"
See above.
> "=?iso-8859-1?Q?=F6?= A =?iso-8859-1?Q?=F6?=" -> "�A�"
Nope. "� A �".
(This is in fact one of the problems with chosing 2047 over UTF8, you
can't mix and match symbols which aren't in the same charset without
white space so "chinesename-versus-russianname" type constructs simply
aren't allowed).
> "=?iso-8859-1?Q?=F6?= A A =?iso-8859-1?Q?=F6?=" -> "�A A�"
Nope. "� A A �"
> Thanks for the proof-reading!
You're welcom.
--
JBM
"Your depression will be added to my own" -- Marvin of Borg
Technical Details
Message-ID:
<1fju9ff.4wggfw1gvwhsdN%planB@newsreaders.com>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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!ppp-116.person.NET!not-for-mailReferences:
<1annht5anm35q.dlg@40tude.com>Show Full Headers
Complete Article Headers
Message-ID: <1fju9ff.4wggfw1gvwhsdN%planB@newsreaders.com> Subject: Re: Quick question on encoded words (RFC2048) Date: Thu, 10 Oct 2002 17:18:16 -0400 From: planB@newsreaders.com (J.B. Moreno) References: <1annht5anm35q.dlg@40tude.com> 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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!ppp-116.person.NET!not-for-mail Newsgroups: news.software.readers Organization: NetNews BOFH wannabe Lines: 54 NNTP-Posting-Host: ppp-116.person.net (166.82.184.116) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1034284594 20163505 166.82.184.116 (16 [22426]) X-Orig-Path: planB User-Agent: MacSOUP/2.5b2 (Mac OS 8.6)