projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'origin/new/bug_5604'
[koha.git]
/
C4
/
Creators
/
PDF.pm
diff --git
a/C4/Creators/PDF.pm
b/C4/Creators/PDF.pm
index
d181bdb
..
0aae09c
100644
(file)
--- a/
C4/Creators/PDF.pm
+++ b/
C4/Creators/PDF.pm
@@
-49,6
+49,8
@@
sub new {
sub End {
my $self = shift;
+ # if the pdf stream is utf8, explicitly set it to utf8; this avoids at lease some wide character errors -chris_n
+ utf8::encode($PDF::Reuse::stream) if utf8::is_utf8($PDF::Reuse::stream);
prEnd();
}