[open-ils-commits] [GIT] Evergreen ILS branch master updated. df7e392a980645f22a220c66147cb1b7537d0314

Evergreen Git git at git.evergreen-ils.org
Tue Sep 20 11:06:55 EDT 2016


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  df7e392a980645f22a220c66147cb1b7537d0314 (commit)
      from  6bd672af7d6c755c36b65f8efa336002a8a36d5a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit df7e392a980645f22a220c66147cb1b7537d0314
Author: Dan Scott <dscott at laurentian.ca>
Date:   Sun Sep 18 09:16:27 2016 -0400

    LP#1624846 Add charset declaration to TPAC print output
    
    Non-ASCII characters were printed incorrectly in some browsers, such as
    Firefox, that still default to ISO-8859-1 encodings in the absence of a
    specifically declared encoding.
    
    Our output encoding will always be UTF-8, so declare it.
    
    Signed-off-by: Dan Scott <dscott at laurentian.ca>
    Signed-off-by: Mike Rylander <mrylander at gmail.com>

diff --git a/Open-ILS/src/templates/opac/myopac/receipt_print.tt2 b/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
index fe68495..64237e2 100644
--- a/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
+++ b/Open-ILS/src/templates/opac/myopac/receipt_print.tt2
@@ -1,6 +1,7 @@
 [%# sic! no wrapper %]
 <html>
     <head>
+        <meta charset="utf-8">
         <title>[% l('Receipt') %]</title>
     </head>
     <body onload="if (document.getElementById('printable-receipt')) window.print();">
diff --git a/Open-ILS/src/templates/opac/record/print.tt2 b/Open-ILS/src/templates/opac/record/print.tt2
index d5d94e6..24cb94e 100644
--- a/Open-ILS/src/templates/opac/record/print.tt2
+++ b/Open-ILS/src/templates/opac/record/print.tt2
@@ -1,6 +1,7 @@
 [% PROCESS 'opac/parts/header.tt2' %]
 <html>
     <head>
+        <meta charset="utf-8">
         <title>[% l('Print Record') %]</title>
         <style type="text/css" media="print">.noprint {display: none}</style>
     </head>

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/opac/myopac/receipt_print.tt2    |    1 +
 Open-ILS/src/templates/opac/record/print.tt2       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list