title: Java, Using Scanner to input characters as UTF-8, can't print text
body: <p>I can convert String to Array as UTF-8, but I can't convert it back to String like the first String. </p>
  
  <pre><code>public static void main(String[] args) {
  
      Scanner h = new Scanner(System.in);
      System.out.println("INPUT : ");
      String stringToConvert = h.nextLine();
      byte[] theByteArray = stringToConvert.getBytes();
  
      System.out.println(theByteArray);
      theByteArray.toString();
      String s = new String(theByteArray);
  
      System.out.println(""+s);
  }
  </code></pre>
  
  <p>How do I print <code>theByteArray</code> as a String?</p>