This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Japan Email Encoding problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "Japan Email Encoding problem" Watch "Japan Email Encoding problem" New topic

Japan Email Encoding problem

Vibhas Kumar

Joined: Oct 13, 2009
Posts: 28
0 down vote favorite
share [fb] share [tw]

I have a problem with japanese text. My code sends the japanese text in an email basically. The problem is when I am using the encoding type as EUC-JP I am getting the proper text in email but in microsoft-outlook only whereas in gmail and yahoo the same japanese text apperas as junk.

Now if i change the encoding as JIS then yahoo and gmail is showing proper japanese text but in outlook it is coming as junk.

I have tried Shift-JIS also but it is also apperaing junk in outlook.

Any suggestion how to resolve.

Here is the code:

// Code for sending mail

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 43885
Too difficult a question for “beginning”. Moving.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Japan Email Encoding problem
It's not a secret anymore!