[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
Thu Mar 19 17:11:31 CET 2015


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36174|0                           |1
        is obsolete|                            |
  Attachment #36175|0                           |1
        is obsolete|                            |

--- Comment #14 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 37015
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=37015&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.

Signed-off-by: Paola Rossi <paola.rossi at cineca.it>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list