Next in thread → Next in month →

RE: [relax-ng] Java-style Unicode escapes

From
Michael Fitzgerald <>
Date
2002-04-10T16:10:22+00:00
ID
Thread
RE: [relax-ng] Java-style Unicode escapes
In support of \x{}, C# uses '\x' as well (but doesn't allow code points
greater than U+FFFF).

Mike
-----Original Message-----
From: James Clark [mailto:]
Sent: Monday, April 08, 2002 5:57 AM
To: RELAX NG Mailing List
Subject: Re: [relax-ng] Java-style Unicode escapes

> Perl uses \x{N}, so we might want to consider that instead of \u{N}.

Two reasons why one might prefer \x to \u:

1. XML uses "x" to introduce hex char refs.

2. If we use \u, people may be surprised that it it is followed by an
argument in braces rather than 4 hex digits as in Java.

James

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>
Next in thread → Next in month →