From: Charles Lindsey (chl@clw.cs.man.ac.uk)
Date: Fri Mar 01 2002 - 05:14:59 CST
Here is another reply I received when I raised Clive's
posting-sender-parameter on the ietf-822 list.
>Date: Thu, 28 Feb 2002 12:39:02 -0500
>From: Cyrus Daboo <daboo@cyrusoft.com>
>Subject: Re: quoted strings within quoted strings
>Message-ID: <2147483647.1014899942@[10.0.1.2]>
Hi,
--On Thursday, February 28, 2002 4:33 PM +0000 Charles Lindsey
<chl@clw.cs.man.ac.uk> wrote:
| So what is the proper way to do it?
| Would it be
|
| sender = "\"John D. Bloggs\" <jdbloggs@example.com>"
|
| in which case would/should the inner \"John D. Bloggs\" then be
| interpreted as a quoted-string?
|
| Or is it the case that there is no proper way to express this sort of
| thing?
I think you need a slightly different example to actually express this
problem. If the phrase had instead been 'John D. "Cool" Bloggs', then you
have the problem of a quoted string in a quoted string more clearly
expressed, and I think the simple solution is to reapply the quoting rules
so you end up with something like:
sender = "\"John D. \\\"Cool\\\" Bloggs" <jdbloggs@example.com>"
-- Cyrus Daboo-- Charles H. Lindsey ---------At Home, doing my own thing------------------------ Tel: +44 161 436 6131 Fax: +44 161 436 6133 Web: http://www.cs.man.ac.uk/~chl Email: chl@clw.cs.man.ac.uk Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K. PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5