title: Japan character - bytes length
body: <p>Length of japan character, is different from length of US character.</p>
  
  <p>Example:</p>
  
  <pre><code>String str = new String("アサヒコ");
  int numBytes = str.getBytes().length;   12 
  
  for Us:
  String str = new String("san");
  int numBytes = str.getBytes().length;   3
  </code></pre>
  
  <p>How should i get the JAPAN bytes length exact same way of US character.</p>
  
  <p>For single JAPAN character , why it is giving 2 bytes , some times it is giving 3 bytes for single JAPAN character.</p>
  
  <p>Please tell me how should i get the bytes value for JAPAN character in java</p>