title: Map char * in C DLL to Java with JNA
body: <p>I have a DLL of C++ and I need to call its function which returns <code>char*</code>. Im using String in native declaration but getting output like <code>????</code> or some crap thing. Do I have to decode the String? I have already set my system property like this:</p>
  
  <pre><code> System.setProperty("jna.encoding","UTF-8");
  </code></pre>