* Sharma, Ashish <ashish.shar...@hp.com>: > Hi, > > I have a setup, where emails received by mail server(postfix) are taken > on and the resulting email's body(html or plain text) and attachments > are parsed to separate files and saved, for this I use javax mail api. > > The problem occurs for email body when it is in Chinese (simple and > traditional) (charset GB2312, as per email header) or Korean (charset > ks_c_5601-1987, as per email header), > > the resulting parsed email bodies show character corruption (the > characters are displayed as '?').
Postfix does not change the contects of a mail. Period. > I am unable to understand why rest of the programs like Google mail, > Outlook can parse the mail body right while my code could not. Sounds like an error in your code then > Please suggest what am I doing wrong? Without knowing your code, it's really hard to tell. Personally, I'd debug by using alway_bcc_maps to a simple mailbox and examine the mails in detail. -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de