Bugzilla – Attachment 30810 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]
[SIGNED-OFF] Bug 9208 : Fix encoding of overdue letters
SIGNED-OFF-Bug-9208--Fix-encoding-of-overdue-lette.patch (text/plain), 1.09 KB, created by
Srdjan Jankovic
on 2014-08-15 02:05:57 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9208 : Fix encoding of overdue letters
Filename:
MIME Type:
Creator:
Srdjan Jankovic
Created:
2014-08-15 02:05:57 UTC
Size:
1.09 KB
patch
obsolete
>From dd822d0949c409fdfb38591b941df6270d259208 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] [SIGNED-OFF] 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. > >Signed-off-by: Srdjan <srdjan@catalyst.net.nz> >--- > 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 943c486..7e897ec 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