I guess everybody has to discover this one time or another....
The reason is that when
Java reads a line of text, all Unicode representations are translated right away. '\u000A' is a carriage return so the single line is split and what is sent to the compiler is:
char a =
;
Which is not legal code. This is why the "escaped" characters such as '\r' and '\n' are available.
Bill
------------------
author of: