This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 41149
    
  45
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Special characters
 
Similar Threads
JavaMail or Desktop API
Garbled symbols (send an email with Mathematical Operators)
Help on JavaMail - special character in subject
Help on JavaMail - special character in subject
Garbled Symbols (send an email with Mathematical Operators)