In Java, if I have a String x, how can I calculate the number of bytes in that string? 9 Answers 9 Tags: javastring