Re: Escaping the escape (Was: I-D ACTION:draft-klensin-unicode-escapes-00.txt

"Clive D.W. Feather" <clive@demon.net> Mon, 22 January 2007 09:31 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1H8vWf-0008U9-3Y; Mon, 22 Jan 2007 04:31:41 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1H8vWd-0008Tz-Mn for discuss@apps.ietf.org; Mon, 22 Jan 2007 04:31:39 -0500
Received: from anchor-internal-1.mail.demon.net ([195.173.56.100]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H8vWc-000054-Ao for discuss@apps.ietf.org; Mon, 22 Jan 2007 04:31:39 -0500
Received: from finch-staff-1.server.demon.net (finch-staff-1.server.demon.net [193.195.224.1]) by anchor-internal-1.mail.demon.net with ESMTP� id l0M9Vbim027718Mon, 22 Jan 2007 09:31:37 GMT
Received: from clive by finch-staff-1.server.demon.net with local (Exim 3.36 #1) id 1H8vWb-000K9S-00; Mon, 22 Jan 2007 09:31:37 +0000
Date: Mon, 22 Jan 2007 09:31:37 +0000
From: "Clive D.W. Feather" <clive@demon.net>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: Escaping the escape (Was: I-D ACTION:draft-klensin-unicode-escapes-00.txt
Message-ID: <20070122093137.GO60599@finch-staff-1.thus.net>
References: <891E235E7A867F0DB506C90A@p3.JCK.COM> <20070121210642.GA10676@sources.org> <20070122090345.GK60599@finch-staff-1.thus.net> <20070122092828.GB4517@nic.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20070122092828.GB4517@nic.fr>
User-Agent: Mutt/1.5.3i
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7d33c50f3756db14428398e2bdedd581
Cc: discuss@apps.ietf.org
X-BeenThere: discuss@apps.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: general discussion of application-layer protocols <discuss.apps.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=unsubscribe>
List-Post: <mailto:discuss@apps.ietf.org>
List-Help: <mailto:discuss-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=subscribe>
Errors-To: discuss-bounces@apps.ietf.org

Stephane Bortzmeyer said:
>> To write the string "\u1234", you write "\u005Cu1234". Isn't that
>> obvious enough not to need stating?
> 
> It was not obvious to me, I did not even think of it (\\u1234 seemed
> more reasonable).

Sorry, I was a bit terse there.

You can always do things by escaping the \ using the same notation; that
seemed obvious enough not to need stating.

I agree that \\ is easier to read, but it might not be compatible with
other uses of \ in the protocol this is going into. As such, it might be
seen as inappropriate to require it. However, we could add it as a MAY.

-- 
Clive D.W. Feather  | Work:  <clive@demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive@davros.org>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
THUS plc            |                            |