Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ccccff
String s = "Some Arbitrary String";
byte [] byteArray = s.getBytes("UTF8");
String ns = new String(byteArray, "UTF8");  // sns prints as "Some Arbitrary String"

...