Mickey, Which repository type are you using? And could you send me a sample message that has this problem, as an attachment? I'd like to see one.
--- Noel -----Original Message----- From: mickey [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 9:26 To: James Users List Subject: Re: Chinese(double-byte) character problem with headers I've tried a few minutes ago, too bad, it fails! when I call MimeMessage.getHeader("subject") in void service(Mail mail) the header in message is already a mess (i.e. "???????" ), I cannot do anything about it, so I think the problem is located in transport layer, any idea? > If you are getting incorrectly encoded messages, and you know the proper > character set, why not write a mailet to take unencoded messages and > encode them? However you don't want to base64 encode headers. Header > encoding follows RFC 2047, which means that headers are in US-ASCII > unless encoded as per that RFC. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]