Talk:Java Programming/Unicode
Add topicAppearance
I do not agree with this :
String doubleQuote1 = "\""; String doubleQuote2 = "\\u0022"; // "\u0022" doesn't work since """ doesn't work.
I would rather write :
String doubleQuote1 = "\""; String doubleQuote2 = "\u005C\u0022";
this main shows the results :
String doubleQuote1 = "\""; String doubleQuote2a = "\\u0022"; String doubleQuote2b = "\u005c\u0022"; System.out.println(doubleQuote1+"=?"+doubleQuote2a+" : "+doubleQuote1.equals(doubleQuote2a)) ; System.out.println(doubleQuote1+"=?"+doubleQuote2b+" : "+doubleQuote1.equals(doubleQuote2b)) ;
screen displays :
"=?\u0022 : false "=?" : true
Start a discussion about Java Programming/Unicode
Talk pages are where people discuss how to make content on Wikibooks the best that it can be. You can use this page to start a discussion with others about how to improve Java Programming/Unicode.