permaculture playing cards*
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
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Special characters" Watch "Special characters" New topic
Author

Special characters

Susan Dunn
Greenhorn

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?

Thank

Sue
Ulf Dittmer
Marshal

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


Ping & DNS - my free Android networking tools app
Susan Dunn
Greenhorn

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.

Thanks

Sue
 
 
subject: Special characters