title: Non english characters in database using Java
body: <p>I have to save non-english (special character) in MySql using Java code , When i am trying to do so data is getting saved as ??????</p>
  
  <pre><code>String dataStr  = "κωνσταντίνα";
              System.out.println("Before " + dataStr);
               String dataStr1 = new String(dataStr.getBytes("ISO-8859-1"),"UTF-8"); 
               System.out.println("after "+dataStr1);
              String st = URLDecoder.decode("κωνσταντίνα", "UTF-8");
              cd.setTransactionDescription(dataStr1);
  </code></pre>