Meaningless Drivel is fun!*
The moose likes Other JSE/JEE APIs and the fly likes Arabic characters issue in java mail 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 "Arabic characters issue in java mail" Watch "Arabic characters issue in java mail" New topic
Author

Arabic characters issue in java mail

arul arumugam
Greenhorn

Joined: Mar 20, 2011
Posts: 1
Hi, I have written a java mail program to send a mail. When I am sending arabic char they are coming as ???.
I will enclose my program kindly help me. Thanks a ton in advance.

My propery file content -sample
test1=äæÝãÈÑ
test2=ÏíÓãÈÑ
2FASubject=??? - ??? ??? ??? ???
2FAFirstLine=<p> سامبا</p>

Yasser Abdalkarem
Greenhorn

Joined: Apr 12, 2011
Posts: 1
try to add this :
setHeader("Content-Transfer-Encoding", "8Bit");
 
jQuery in Action, 2nd edition
 
subject: Arabic characters issue in java mail
 
Similar Threads
How a character save in 2 bytes in Java?
Exception in thread "main" javax.mail.AuthenticationFailedException:
how to send multiple data in a table in a mail application?
arabic text from linux to windows oc4j servers
Encoding XML file using Base64Encoder