[Koha-bugs] [Bug 12739] SendAlerts function does not take care of "html" format or UTF-8

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 23 04:17:36 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12739

--- Comment #2 from David Cook <dcook at prosentient.com.au> ---
Created attachment 34655
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34655&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list