[Koha-bugs] [Bug 21874] Umlauts broken in list email subjects
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 23 08:33:57 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21874
--- Comment #9 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Trying to pinpoint the difference. The queue emails have this:
1286 my $utf8 = decode('MIME-Header', $message->{'subject'} );
1287 $message->{subject}= encode('MIME-Header', $utf8);
1288 my $subject = encode('UTF-8', $message->{'subject'});
The shelf has:
114 # Analysing information and getting mail properties
115 if ( $template_res =~ /<SUBJECT>(.*)<END_SUBJECT>/s ) {
116 $mail{'subject'} = Encode::encode("UTF-8", $1);
117 $mail{subject} =~ s|\n?(.*)\n?|$1|;
Wonder if the encode('MIME-Header'... is the magical difference?
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list