Meaningless Drivel is fun!
The moose likes Other JSE/JEE APIs and the fly likes JavaMail - Multilang Emails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JavaMail - Multilang Emails" Watch "JavaMail - Multilang Emails" New topic

JavaMail - Multilang Emails

anandm mathuria

Joined: Jul 10, 2001
Posts: 3
We are storing Chinese / Japanese / Korean data in UTF-8 format in the database. If we want to dispaly that data on a browser through a JSP / Servlet, we use
This automatically changes the browser's setting (view/encoding) to UTF-8 & data of the above languages is displayed correctly.
Now we also have to send an email message which is formed dynamically using some values from the database (e.g. first name, seminar_name etc.). We are using JavaMail API for this & we use
There are 2 probs in the above approach:
1. Say a mail is sent with Japanese data. A user having Jap-NT/Jap-MS-Outlook can view it perfectly but the same email will show junk in English NT.
2. The same email when viewed from say yahoo/hotmail etc. will show correctly only if I manually change the Browser Setting (view/Encoding) to UTF-8.
Do you have any material / solution as to how to send multilang emails which can be seen even on English-NT/Outlook? Please mail me any info that u have on abv.
my email:
thanks a lot in advance.
anandm mathuria

Joined: Jul 10, 2001
Posts: 3
Hi John... pls help if u know a soln to this.
Thanks a lot in advance :-)
I agree. Here's the link:
subject: JavaMail - Multilang Emails
It's not a secret anymore!