Posted By:
Ivan_Bereznyakov
Posted On:
Sunday, July 15, 2001 04:59 AM
I should use as subject charset cyrillic charset koi8-r. It is supported by JDK but when I use it as follows: msg.setSubject("Smth in russian","KOI8_R"); msg.setContent("Smth in russ.", "text/plain; charset=KOI8_R"); The following problem occures: the following lines are in message header: Subject: =?KOI8_R?B?8tXT08vJyiDR2tnL?= Content-Type: text/plain; charset=KOI8_R But the majority of mail clients need not "KOI8-R" keyword, but "koi8-r". ("koi8-r" keyword isn't supported by JDK, but actually with encoding everyhing is OK, only mail client (E.g. Netscape Messenger) doesn'
More>>
I should use as subject charset cyrillic charset koi8-r. It is supported by JDK but when I use it as follows:
msg.setSubject("Smth in russian","KOI8_R");
msg.setContent("Smth in russ.", "text/plain; charset=KOI8_R");
The following problem occures: the following lines are in message header:
Subject: =?KOI8_R?B?8tXT08vJyiDR2tnL?=
Content-Type: text/plain; charset=KOI8_R
But the majority of mail clients need not "KOI8-R" keyword, but "koi8-r". ("koi8-r" keyword isn't supported by JDK, but actually with encoding everyhing is OK, only mail client (E.g. Netscape Messenger) doesn't understand the keyword).
Can it be solved?
<<Less