title: thai character showing ????? mark on file upload in jsp
body: <p>I have a JSP/Servlet application works as follow:</p>
  
  <p>1- upload an excel sheet from a jsp page</p>
  
  <p>2- read the content and add them to mySQL in Servlet/Java code</p>
  
  <p>the problem that when i have arabic characters in the excel it will be added to the DB as</p>
  
  <p>????
  in the JSP file i changed the page encoding as follow:</p>
  
  <pre><code>               &lt;%@ page language="java" 
                contentType="text/html; charset=utf-8"
                pageEncoding="utf-8"%&gt;
                 &lt;meta http-equiv="Content-Type"
               content="text/html; charset=utf-8"&gt;
  </code></pre>
  
  <p>in the html form where the file upload input i added enctype=</p>
  
  <pre><code>             "multipart/form-data;charset=utf-8"
  </code></pre>
  
  <p>I tested the mySql and it supports arabic letters (I can insert and select via the console) and when i try to read something from the DB in arabic and view it in the JSP it works fine!it is working correctlly on my local syatem but when i deploying the war file on server.then upload the excel file it show ????? mark in database</p>
  
  <p>I think the problem is in the part of the upload! Any one can help please?</p>
  
  <p>Thanks</p>