permaculture playing cards
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: 46334
Too difficult a question for “beginning”. Moving.
I agree. Here's the link:
subject: Japan Email Encoding problem
It's not a secret anymore!