Bugzilla – Attachment 28866 Details for
Bug 9208
overdue letters (pdf) are not correctly encoded
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9208 : Fix encoding of overdue letters
Bug-9208--Fix-encoding-of-overdue-letters.patch (text/plain), 1.04 KB, created by
Sophie MEYNIEUX
on 2014-06-16 12:54:27 UTC
(
hide
)
Description:
Bug 9208 : Fix encoding of overdue letters
Filename:
MIME Type:
Creator:
Sophie MEYNIEUX
Created:
2014-06-16 12:54:27 UTC
Size:
1.04 KB
patch
obsolete
>From fd8f20573a67f4c2bbeae1227a3d0f1e7763c885 Mon Sep 17 00:00:00 2001 >From: Sophie Meynieux <sophie.meynieux@biblibre.com> >Date: Fri, 13 Jun 2014 17:46:50 +0200 >Subject: [PATCH] Bug 9208 : Fix encoding of overdue letters > > When overdue letters templates contain symbol like euro, > the conversion between html to pdf results in wrong encoding > of special characters. > Adding explicit utf8 encoding at the beginning of html file > resolves this problem. This is already done for hold notices. >--- > misc/cronjobs/overdue_notices.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index 2a9f8ae..99fe2b4 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -397,6 +397,7 @@ if ( defined $htmlfilename ) { > > print $fh "<html>\n"; > print $fh "<head>\n"; >+ print $fh "<meta charset=\"utf-8\" />\n"; > print $fh "<style type='text/css'>\n"; > print $fh "pre {page-break-after: always;}\n"; > print $fh "pre {white-space: pre-wrap;}\n"; >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9208
:
13879
|
13935
|
28849
|
28866
|
30810