title: how to  convert char[] to jstring in JNI ?
body: <p>In jni, I want convert the char * to jstring using following method:</p>
  
  <pre><code>env-&gt;NewStringUTF(chm_pcText)
  </code></pre>
  
  <p>it works for english text, but failed with Chinese, and get following message:</p>
  
  <pre><code>JNI WARNING: illegal continuation byte.
  </code></pre>
  
  <p>How to solve it ?</p>