Summary
Subject does not display correctly if contains non-latin characters and is a little bit long.

Proposed Solution
Change line 1012 of views_send.module from:
$mail['subject'] = mime_header_encode($message->subject);
to:
$mail['subject'] = '=?UTF-8?B?' . base64_encode($message->subject) . '?=';

Comments

hansfn’s picture

Status: Active » Fixed

Funny that I didn't discover this bug myself since I use Norwegian characters all the time. Probably I write too short subjects. It's interesting that this core bug (IMHO) isn't fixed in D8 either.

The issue is fixed in commit 39884b9.

hansfn’s picture

Fixed on the 8.x-1.x branch in commit 7d3f8b7.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

ressa’s picture

Could this also be committed to 7.x-1.x-dev version?

hansfn’s picture

Sorry, I don't understand. It was commit to the 7.x-1.x branch first - see comment 1 above.

ressa’s picture

Sorry hansfn, you're right: I didn't update the module (from RC3), but just did a fast hack, by searching for "$mail['subject'] = mime_header..." and replacing that line with $mail['subject'] = '=?UTF-8?B?' . base64_encode($message->subject) . '?=';

Updating the module (the correct way!) to the latest official version fixed the problem.