Bugzilla – Attachment 23046 Details for
Bug 10605
Problems with translated cart email sent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED-QA] Bug 10605: Encoding issue on sending a basket (INTRANET)
Bug-10605-Encoding-issue-on-sending-a-basket-INTRA.patch (text/plain), 1.06 KB, created by
Brendan Gallagher
on 2013-11-19 22:10:20 UTC
(
hide
)
Description:
[PASSED-QA] Bug 10605: Encoding issue on sending a basket (INTRANET)
Filename:
MIME Type:
Creator:
Brendan Gallagher
Created:
2013-11-19 22:10:20 UTC
Size:
1.06 KB
patch
obsolete
>From 6d6d580cc9169bc84b94904cacd02d153ebf7fc1 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 14 Nov 2013 11:31:23 +0100 >Subject: [PATCH] Bug 10605: Encoding issue on sending a basket (INTRANET) > >Same fix for the staff interface. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Both patches tested with English and German, diacritics >now appear correctly if UTF-8 is selected as encoding. >Passes all tests and QA script. > >Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com> >--- > basket/sendbasket.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/basket/sendbasket.pl b/basket/sendbasket.pl >index 3f57de2..885ee41 100755 >--- a/basket/sendbasket.pl >+++ b/basket/sendbasket.pl >@@ -131,8 +131,9 @@ if ( $email_add ) { > } > > if ( $template_res =~ /<MESSAGE>(.*)<END_MESSAGE>/s ) { >- $body = encode_qp($1); >+ $body = $1; > $body =~ s|\n?(.*)\n?|$1|; >+ $body = encode("UTF-8", encode_qp($body)); > } > > my $boundary = "====" . time() . "===="; >-- >1.7.10.4
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 10605
:
21428
|
22925
|
22926
|
22996
|
22998
|
22999
|
23018
|
23019
|
23044
|
23045
| 23046