Bugzilla – Attachment 3820 Details for
Bug 6130
Letters: Fixing Subject encoding
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixing Subject encoding
0001-Bug-6130-Letters-Fixing-Subject-encoding.patch (text/plain), 891 bytes, created by
Alex Arnaud
on 2011-04-08 07:27:16 UTC
(
hide
)
Description:
Fixing Subject encoding
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2011-04-08 07:27:16 UTC
Size:
891 bytes
patch
obsolete
>From b681da9de6676e157223ced996ebfd1feb9c3cb1 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Fri, 8 Apr 2011 09:25:40 +0200 >Subject: [PATCH] Bug #6130 - Letters: Fixing Subject encoding > >--- > C4/Letters.pm | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/C4/Letters.pm b/C4/Letters.pm >index 269ec78..c894a57 100644 >--- a/C4/Letters.pm >+++ b/C4/Letters.pm >@@ -816,7 +816,9 @@ sub _send_message_by_email ($;$$$) { > } > } > >- my $content = encode('utf8', $message->{'content'}); >+ my $utf8 = decode('MIME-Header', $message->{'subject'} ); >+ $message->{subject}= encode('MIME-Header', $utf8); >+ my $content = encode('utf8', $message->{'content'}); > my %sendmail_params = ( > To => $to_address, > From => $message->{'from_address'} || C4::Context->preference('KohaAdminEmailAddress'), >-- >1.6.3.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6130
: 3820