title: Java Mail is not supporting UTF-8 Characters in Subject of the email
body: <p>Here is my code of setting subject to the email:</p>
  
  <pre><code>  String bodyMessage="Dear Renavçilçleç Françoisç InCites&amp;#8482;";
    String subject = "Your new InCites&amp;#8482; subscription";
  
    Properties _sessionProperties = new Properties();
    _sessionProperties.put("mail.transport.protocol", "smtp");
    _sessionProperties.put("mail.smtp.host", "hostname");
    _sessionProperties.put("mail.smtp.port", "25");
  
    Session session = Session.getInstance(_sessionProperties, null);
  
    MimeMessage mimemsg = new MimeMessage(session);
    mimemsg.addRecipients(Message.RecipientType.TO, "xxx@gmail.com");
    mimemsg.setSubject(subject, "UTF-8");
  
    // Create a multi-part message
    MimeMultipart multipart = new MimeMultipart();
    // Set the subType
    multipart.setSubType("alternative");
    BodyPart part = new MimeBodyPart();
  
    part.setContent(bodyMessage, "charset=UTF-8");
  
    // Set the emailBody and emailType to MIME BodyPart
    part.setDataHandler(new DataHandler(new ByteArrayDataSource(
        bodyMessage, "text/html;")));
  
    // Add the MIME BodyPart to MIME multiPart
    multipart.addBodyPart(part);
  
    // Put parts in message
    mimemsg.setContent(multipart);
  
    // Send message
    Transport.send(mimemsg);
  </code></pre>
  
  <p>But still in email subject it still shows as <code>"Your new InCites&amp;#8482; subscription"</code></p>