title: Android ndk log unicode (wide characters)
body: <p>I am trying to write to logcat unicode characters (UTF16; wide characters like Japanese, Korean or Chinese). The only success is a work around which is to send it to Java as a string (for example the code below):</p>
  
  <pre><code>unsigned short* text = new unsigned short[100];      // or jchar*
  .... // all some unicode to the array
  jstring jtext = jniEnv-&gt;NewString(text, (jsize)length);
  jniEnv-&gt;CallVoidMethod( JavaClass, JavaPrintUnicode, jtext );
  ... // Clean up
  
  // Then java prints it out
  </code></pre>
  
  <p>However if the bytes are in a char array, <code>__android_log_print</code> will print garbled text. Is there a method to print out the text within the NDK (C++) side?</p>