[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
Wed Feb 25 18:01:23 CET 2015


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

Paola Rossi <paola.rossi at cineca.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #8 from Paola Rossi <paola.rossi at cineca.it> ---
(In reply to David Cook from comment #3)
> Created attachment 34656 [details] [review]
> 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.

I've applied the patch Pt.1 against master 3.19.00.012 head 13473.

I wrote some Greek chars in the Notice in:
the Message subject,
the Message body,
in the Surname of the newing borrower/patron.

There was nearby no difference between master and applied.
This was a part of the source of the received mail, with the 1 diff I saw:
-------
Subject: Your new Koha account details CPL- noHTML APPl ΑΒΓΔΕ
Charset: utf8
Date: Wed, 25 Feb 2015 17:53:39 +0100
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8" (1 diff: "utf8" on master)
To: a.rossi at cineca.it
Content-Transfer-Encoding: quoted-printable
From: JeffSummCPL at gmail.com
Message-Id: <E1YQfDP-00014r-AW at linux-test.prossi-host>
[...]
-----------
I think the patch Pt.1 about UTF-8 didn't fix the problem.

So I pass this Bug 12739 to "Failed QA" Status (see also Comment #7 about
Pt.2).

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


More information about the Koha-bugs mailing list