]> git.koha-community.org Git - koha.git/commit
Bug 8378 - <fine> syntax not working on overdues anymore
authorwajasu <matted-34813@mypacks.net>
Wed, 15 Aug 2012 17:51:28 +0000 (12:51 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 14 Sep 2012 15:52:25 +0000 (17:52 +0200)
commit40f9914e60e002ae4cbf10d09cff8bbf32abd8fe
tree3352c14ad314df3e1e9f308dc92e1a9863a427a9
parent84825be42adf4a50b77360cf016cd5bfee15c072
Bug 8378 - <fine> syntax not working on overdues anymore

Bug 8378 - <fine> syntax broken NFC and charset utf8

NFC normalize enqueued letters and add content-type charset=utf-8

This prevents utf8 codes from causing mysql to truncate the 'content'
from the point of certain codes, when stored in the message_queue table.
This was happenning with the currency symbol generated by
Locale::Currency:Format currency_format routine. NFC normalization
was only done on the attachment content with its content-type
containing "text", as in text/plain.

For emails AND attachments, the charset="utf-8" was added to the
content-type so mail clients would correctly iterate the utf8 codes,
thus preventing mobijake.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Ran through test plan before and after applying patch. Verified
that fine syntax does not work pre-patch and does work post-patch
for both direct emails and emails to the KohaAdminEmailAddress.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Letters.pm
misc/cronjobs/overdue_notices.pl