Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Improper Japanese text in mail if Tomcat is started via eclipse

843830Nov 16 2003 — edited Nov 18 2003
Hi,

I have a Javax mail API which sends mails in Japanese characters also.

1> If I start Tomcat from command prompt, this API works exactly fine and mails sent are fine with all characters

2> If I start Tomcat server through Eclipse IDE, then the same API, the Japanese characters are scramble up.

Any ideas?

The flow:
I have made a web based mail form from which I receive subject and message. I then use JAVA mail API [Transport.send(...)] to send the mail. I have used proper encodings thats why the mail is atleast going fine when Tomcat is started via command prompt [startup.bat]

Thanks,
Sunil
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 16 2003
Added on Nov 16 2003
1 comment
125 views