]> git.koha-community.org Git - koha.git/commit
Bug 12739 - SendAlerts function does not take care of "html" format or UTF-8 Pt 1
authorDavid Cook <dcook@prosentient.com.au>
Tue, 23 Dec 2014 02:44:18 +0000 (13:44 +1100)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 31 Mar 2015 05:24:44 +0000 (18:24 +1300)
commitca55332525445ae1f05e8652445c87305d8a4efe
tree5e4ccf8b7f07b1683b0807bd993b7322d876356c
parent461426f7502bfb8104470eb2a7d4194c19958893
Bug 12739 - SendAlerts function does not take care of "html" format or UTF-8 Pt 1

The UTF-8 charset in the content type is written as "utf8" instead of "utf-8"
in SendAlerts(), which causes UTF-8 characters to display incorrectly.

_TEST PLAN_

Before Applying:

1) Edit ACCTDETAILS
2) Add some UTF-8 characters
I recommend using the following website
http://www.ltg.ed.ac.uk/~richard/unicode-sample.html

In my tests, I added the samples from Hebrew, Arabic, Basic Latin,
Latin-1 Supplement, Latin Extended-A, and Latin Extended-B.

3) Set the system preference "AutoEmailOpacUser" to "Send"
4) Create a new user account with your email address

5) Note that the email in your inbox doesn't display the Unicode
characters correctly

Apply the patch

6) Create a new user account with your email address
7) Note that the email in your inbox _does_ display the
Unicode characters correctly.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 63123ff36bc7d72bb3044b48f0e35b8b61c0f02c)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
C4/Letters.pm