I am trying to make a bunch of unicode constant strings. I am trying
the following without success. Below is an example. Bad means that I
get the following error "unclosed string literal". Is this due to the
fact that 22hex is the ascii 34 double quote character? If so how do
i work around?
Note: They are not for display, they are for commands to be sent to a
server.
protected final static String CD0 = "", //OK
CD1 = "\u0000\u0001", // OK
CD2 = "\u0002\u0004", // OK
CD3 = "\u0002\u0012", // OK
CD4 = "\u0002\u000c", // OK
CD5 = "\u0002\u0022", // BAD
CD6 = "\u0002\u00c0"; // OK