[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-devel
Subject:    Re: [SM-DEVEL] decodeHeader
From:       "Marc Groot Koerkamp" <marc () grootkoerkamp ! net>
Date:       2004-09-17 14:28:22
Message-ID: 64355.82.75.172.163.1095431302.squirrel () 82 ! 75 ! 172 ! 163
[Download RAW message or body]

Looks like the mailinglists are very slow. I quoted the same part in a reply that \
didn't arrived yet ;)

Marc.

> > I received a mail with a encoded subject, wich was not decoded:
> > Subject: =?windows-1252?Q?Nikon Information 06-04: Photokina 2004?>>
> 
> http://www.faqs.org/rfcs/rfc2047.html
> 
> 
> 2. Syntax of encoded-words
> ...
> IMPORTANT: 'encoded-word's are designed to be recognized as 'atom's
> by an RFC 822 parser.  As a consequence, unencoded white space
> characters (such as SPACE and HTAB) are FORBIDDEN within an
> 'encoded-word'.  For example, the character sequence
> 
> 
> =?iso-8859-1?q?this is some text?>
> 
> would be parsed as four 'atom's, rather than as a single 'atom' (by
> an RFC 822 parser) or 'encoded-word' (by a parser which understands
> 'encoded-words').  The correct way to encode the string "this is some
> text" is to encode the SPACE characters as well, e.g.
> 
> 
> =?iso-8859-1?q?this is some text?>
> 
> The characters which may appear in 'encoded-text' are further
> restricted by the rules in section 5.
> ...
> 4.2. The "Q" encoding
> ...
> 3.) 8-bit values which correspond to printable ASCII characters other
> than "=", "?", and "_" (underscore), MAY be represented as those
> characters.  (But see section 5 for restrictions.)  In
> particular, SPACE and TAB MUST NOT be represented as themselves
> within encoded words.
> 
> 
> --
> Tomas
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> --
> squirrelmail-devel mailing list
> Posting Guidelines:
> http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
> List Address: squirrelmail-devel@lists.sourceforge.net
> List Archives:
> http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.devel
> List Archives: http://sourceforge.net/mailarchive/forum.php?forum_idq39
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
--
squirrelmail-devel mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
 List Address: squirrelmail-devel@lists.sourceforge.net
List Archives: http://news.gmane.org/thread.php?groupList Archives: \
http://sourceforge.net/mailarchive/forum.php?forum_idq39 List Info: \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic