Search code examples
emailinternationalizationjakarta-mailhebrew

Hebrew chars in email sent with JavaMail appears as question marks


What can be done?


Solution

  • Are you setting the character encoding correctly?

    try this:

    mimemessage.setText(s6,"utf-8");
    

    you may need utf-16, cant remember what char set hebrew is on off the top of my head.

    try here http://www.i18nguy.com/unicode/codepages.html