You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i noticed that first email envelope(????-??? #4 in attachment) subject show incorrect chinese ,
after modify "com.gitblit.service.MailService.java"
line 199
message.setSubject(mailing.subject);
to
import javax.mail.internet.MimeUtility;
message.setSubject(MimeUtility.encodeText(mailing.subject, "utf-8", "B"));
chinese show perfect (see second envelope #5 in attachment)
i noticed that first email envelope(????-??? #4 in attachment) subject show incorrect chinese ,
after modify "com.gitblit.service.MailService.java"
line 199
message.setSubject(mailing.subject);
to
import javax.mail.internet.MimeUtility;
message.setSubject(MimeUtility.encodeText(mailing.subject, "utf-8", "B"));
chinese show perfect (see second envelope #5 in attachment)
this solution can be found in
http://stackoverflow.com/questions/3451256/javamail-changing-charset-of-subject-line
ps. my gitblit server (1.6.2) run on windows server 2008 R2 (english version)
The text was updated successfully, but these errors were encountered: