Re: Proposal: i67 - quoting charsets

Julian Reschke wrote:

> I have my doubts. Why add special cases in producers
> when it's not needed? Or *are* special cases needed?

I'm not sure what Henrik is up to.  For my own purposes
I treat <token> vs. <quoted-string> as "always use a
<quoted-string> instead of figuring out what is and
what is not a <token>, unless it's obvious (B64, hex)".

Within a <quoted-string> it's straight forward, for \
use \\, for " use \", for RFC 2617 avoid such cases,
and for <encoded-word> forget anything I've said. ;-)

 Frank

Received on Thursday, 10 April 2008 15:57:37 UTC