title: Unable to decode utf-8 using thai language?
body: <p>This is my JSP page:</p>
  
  <pre><code>&lt;%-- 
      Document   : new jsp1
      Created on : Nov 24, 2014, 12:38:07 PM
      Author     : Java
  --%&gt;
  &lt;%@page contentType="text/html" pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE html&gt;
  &lt;html&gt;
   &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
      &lt;title&gt;JSP Page&lt;/title&gt;
   &lt;/head&gt;
   &lt;body&gt;
     &lt;%
     String msg="206_John_help i m in trouble,delhi,อินเดีย_30.64741430_76.817313799";
     String result = java.net.URLEncoder.encode(msg, "UTF-8");
     System.out.println("The msg is "+result);
     String result1=java.net.URLDecoder.decode(result, "UTF-8");
     System.out.println("The decoded msg is "+result1);
  
     %&gt;
   &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The output is <code>206_John_help i m in trouble,delhi,???????_30.64741430_76.817313799</code></p>
  
  <p>I am always getting <code>??????</code> instead of thai alphabets. How can I get the Thai alphabets while decoding?</p>