Issue in Encoding when sending email to Google
<p>I have the below code that simply send email to my email account in Google. it works fine if the language is English. But if I use another language, message delivered but it appear as strange chars. </p>

<p>Do i need to do any change in order to support UTF?</p>

<pre><code>private void sendFeedbackbyEmail()
   {
       /***
         * mail fields
         */

         // Recipient's email ID needs to be mentioned.
        String to = "myemail@gmail.com";

        // Sender's email ID needs to be mentioned
        String from = "myemail@gmail.com";

        // Assuming you are sending email from localhost
        String host = "localhost";

        // Get system properties
        Properties properties = System.getProperties();

        // Setup mail server
        properties.setProperty( "mail.smtp.host" , host);

        // Get the default Session object.
       // Session session = Session.getDefaultInstance(properties);
        final String username = "myemail@gmail.com";
        final String password = "xxxxxxxxxxxxx";

        Properties props = new Properties();
        props.put("mail.smtp.auth", "true");
        props.put("mail.smtp.starttls.enable", "true");
        props.put("mail.smtp.host", "smtp.gmail.com");
        props.put("mail.smtp.port", "587");

        Session session = Session.getInstance(props,
          new javax.mail.Authenticator() {
            protected PasswordAuthentication getPasswordAuthentication() {
                return new PasswordAuthentication(username, password);
            }
          });



        /**
         * 
         */
        try{
             // Create a default MimeMessage object.
             MimeMessage message = new MimeMessage(session);

             // Set From: header field of the header.
             message.setFrom(new InternetAddress(from));

             // Set To: header field of the header.
             message.addRecipient(Message. RecipientType.TO,
                                      new InternetAddress(to));

             // Set Subject: header field
             message.setSubject("Feedback");

             // Now set the actual message
             message.setText(feedback +" From:" +email);

             // Send message
             Transport.send(message);
           //--  System.out.println("Sent message successfully....");
          }catch (MessagingException mex) {
             mex.printStackTrace();
          }

   }
</code></pre>
