Re: draft-klensin-unicode-escapes-05 and draft-klensin-net-utf8-05

"Clive D.W. Feather" <clive@demon.net> Mon, 08 October 2007 14:15 UTC

Return-path: <discuss-bounces@apps.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IetOL-00036D-BX; Mon, 08 Oct 2007 10:15:29 -0400
Received: from discuss by megatron.ietf.org with local (Exim 4.43) id 1IetOJ-00035s-M8 for discuss-confirm+ok@megatron.ietf.org; Mon, 08 Oct 2007 10:15:27 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IetOJ-00030x-58 for discuss@apps.ietf.org; Mon, 08 Oct 2007 10:15:27 -0400
Received: from anchor-internal-1.mail.demon.net ([195.173.56.100]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IetO8-0000Ye-Sm for discuss@apps.ietf.org; Mon, 08 Oct 2007 10:15:23 -0400
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 l98EErjP015161Mon, 8 Oct 2007 14:14:53 GMT
Received: from clive by finch-staff-1.server.demon.net with local (Exim 3.36 #1) id 1IetNl-000L9N-00; Mon, 08 Oct 2007 15:14:53 +0100
Date: Mon, 8 Oct 2007 15:14:53 +0100
From: "Clive D.W. Feather" <clive@demon.net>
To: Stephane Bortzmeyer <bortzmeyer@nic.fr>
Subject: Re: draft-klensin-unicode-escapes-05 and draft-klensin-net-utf8-05
Message-ID: <20071008141452.GK71445@finch-staff-1.thus.net>
References: <D88739D9B4DB164FDD94809C@p3.JCK.COM> <fectfr$6v1$1@sea.gmane.org> <20071008100809.GA3118@nic.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20071008100809.GA3118@nic.fr>
User-Agent: Mutt/1.5.3i
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ffa9dfbbe7cc58b3fa6b8ae3e57b0aa3
Cc: Frank Ellermann <nobody@xyzzy.claranet.de>, 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:
>> In section 5.1 you don't mention a similar trick for "\u'"
>> constructs, and "implementors" (i.e. protocol designers)
>> might pick some '\\' convention to get a literal '\'.  Is
>> that as it should be?
> 
> It seems well-covered in the current draft:
> 
>> Since this specification does not recommend one specific syntax,
>> protocols specifications that use escapes MUST define the syntax
>> they are using, including any necessary escapes to permit the escape
>> sequence to be used literally.

> I would have preferred an official recommandation but it seems there
> is no consensus for one specific 'escape the escape' format.

However, since we're mentioning "&#x26;" as *a* syntax that always works,
even though the more usual approach is "&amp;", I think for completeness
we should mention "\u'005C'" as *a* guaranteed way of getting a backslash,
even if "\\" is more usual.

-- 
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            |                            |