dcsimg
Send a HK character email by JavaMail
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Leon_Kwan
Posted On:   Thursday, October 17, 2002 09:18 AM

Hello all,



I am trying to send an email by Javamail. The body of the email is retrieved from a text file. The text file is a Big5 file, and it contains HK characters. So I have tried to retrieve the text file by big5 encoding and send the email by big5 encoding, the HK character in the email becomes "?". and I tried to use big5_hkscs encoding and this time, monster word happens. Any solution for this?



I am using Jdk1.4.1 and Tomcat 3.3.1 here because it is a JSP/javabean application. Thanks.



-Leon

Re: Send a HK character email by JavaMail

Posted By:   John_Zukowski  
Posted On:   Wednesday, November 20, 2002 10:54 PM

Sending non-English messages has already been asked and answered. Keep in mind you can't use System.out.println to see the contents of 16-bit characters.
About | Sitemap | Contact