title: How to display symbols in email body using java
body: <p>I want to display special character or symbols in email body of a HTML email sent using Java. Below are the details of the problem.<br>
  I have created the extension which gets all the text entered in Text Box of form in webpage, I am storing this text in String variable and passing this variable as parameter to method responsible for sending email. If user puts special characters or symbols like "←" in Text Box it is displayed as "â†" in email body, how can I handle these special characters or symbols using java so that they will be displayed as it is in the email body </p>
  
  <p>Here is what my code looks like</p>
  
  <pre><code>String description = "Here I am getting all text from Text box in webpage, it can also  
  contain special character as explained above";
  String emailSubject = "test HTML email";
  String emailBody =  "&lt;!DOCTYPE html&gt;" + "&lt;html&gt;" + "&lt;body&gt;" +
  "&lt;p&gt;Please review this work item and assign it to the appropriate owner.&lt;/p&gt;" + description+
              "&lt;/body&gt;" + "&lt;/html&gt;";  
  //below is the method responsible for sending email to which I pass string parameters emailSubject   
  //and emailBody  
  </code></pre>