logo       

Re: Escaping the escape (Was: I-D ACTION:draft-klensin-unicode-escapes-00.t: msg#00014

ietf.apps-discuss

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

Stephane Bortzmeyer said:
> I may be blind but I do not see a discussion about how to escape the
> escape sequence. For instance, when discussing the XML standard
> (&#nnnn;), there is no mention that it requires a way to write a bare
> & (&).
>
> In the same way, if you use the \unnnn standard, how do you ensure
> that you can still write a real \u string if you want it?

To write the string "\u1234", you write "\u005Cu1234". Isn't that obvious
enough not to need stating?

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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise