title: How do I encode Devanagari Back to English Encoding
body: <p>I am using 'Google Input Tools' for Devanagari Input in a Java application.
  Following is the scenario where I am typing <code>Devanagari नमस्ते</code> in one textField, I want to show it's English equivalent <code>namaste</code> in second textBox. How to do that?</p>
  
  <p><img src="https://i.stack.imgur.com/PPYSp.png" alt="enter image description here"></p>
  
  <pre><code>  private void jTextField1KeyReleased(java.awt.event.KeyEvent evt) {                                        
      // TODO add your handling code here:
      String input = jTextField1.getText();
      jTextField2.setText(input); // I need code here to show input in English Encoding.
      System.out.println("Input "+input);
  }  
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>  Input n
    Input na
    Input nam
    Input nama
    Input namas
    Input namast
    Input namaste
    Input नमस्ते
  </code></pre>