Clive D.W. Feather schrieb:
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?
I would understand "obvious" as "the first thing I can think of". Under
that assumption, I would find it obvious if "\\u" would do the trick,
thus any backslash needs to be escaped.
Best regards, Julian