Last modified: 2010-05-15 15:38:20 UTC
# from https://bugzilla.mozilla.org/show_bug.cgi?id=307731 subject of mail notification from MW 1.5rc4 is not encoded when using 2-byte UTF-8 charactors (like Japanese). it should be encoded by B-encode for mail header. # or some special settings in MW to do this :p # if so, it should be enable by default.
in include/UserMailer.php, we should add wfQuotedPrintable(), i think. % diff UserMailer.php mediawiki-1.5rc4/includes/UserMailer.php 327c327 < $this->subject = wfQuotedPrintable( $subject ); --- > $this->subject = $subject;
Russian wikipedia is also affected by this bug. Please, fix it.
(In reply to comment #2) > Russian wikipedia is also affected by this bug. > Please, fix it. As are all the other Wikipedias, and any other wiki using MediaWiki. Just bear with us while someone proposes a patch, reviews and commits it. The version is set to 1.5rc4. Has this been fixed in a release version, like 1.5.2?
Created attachment 1175 [details] Patch for HEAD * (bug 3407) Fix encoding of subject and from/to headers on notification mails; userMailer() now takes a MailAddress wrapper object instead of a raw string to abstract things a level.
Applied to CVS HEAD.