This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39537
    
  27
Which encoding are you using in GroupWise? Is it picking up the fact that it should be using UTF-8?


Ping & DNS - updated with new look and Ping home screen widget
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Special characters
 
Similar Threads
Garbled symbols (send an email with Mathematical Operators)
Garbled Symbols (send an email with Mathematical Operators)
Help on JavaMail - special character in subject
JavaMail or Desktop API
Help on JavaMail - special character in subject