my dog learned polymorphism
The moose likes Other JSE/JEE APIs and the fly likes Special characters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Special characters" Watch "Special characters" New topic

Special characters

Susan Dunn

Joined: Jun 19, 2006
Posts: 5
I have a problem to receive special characters correctly in GroupWise email when I sent a message out from my java application. The interesting thing is that I sent same message from this java application into my GroupWise email account and my Yahoo email account. I did receive special character correctly in my Yahoo Email but Not in my GroupWise Email.

The piece of code that I used like this:

MimeBodyPart messageBodyPart = new MimeBodyPart();

messageBodyPart.setText( content, "UTF-8" ).

Any idea about this problem?


Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
Which encoding are you using in GroupWise? Is it picking up the fact that it should be using UTF-8?
Susan Dunn

Joined: Jun 19, 2006
Posts: 5
In GroupWise -> from tools -> options -> send

From MIME encoding drop-down list, I picked up UFT-8 to test. It works if I send a message from GroupWise into GroupWise. However it is failed if I send a message from my Java application's message box.

I think that GroupWise may not able to decode UFT-8 for the messages that come from outside the Groupwise's email system.

I tried to find a receive selection's MIME decoding somewhere in GroupWise that can select UFT-8 just like "send" from above . But I couldn't find it.

I agree with yours. It may a bug in GroupWise.


I agree. Here's the link:
subject: Special characters
It's not a secret anymore!