projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pflichtenhefte: Copy & Paste für Textblöcke & Items
[kivitendo-erp.git]
/
SL
/
Template
/
LaTeX.pm
diff --git
a/SL/Template/LaTeX.pm
b/SL/Template/LaTeX.pm
index
d99afa4
..
2f99f7e
100644
(file)
--- a/
SL/Template/LaTeX.pm
+++ b/
SL/Template/LaTeX.pm
@@
-338,7
+338,7
@@
sub parse {
$self->{"error"} = "$form->{templates}/$form->{IN}: $!";
return 0;
}
$self->{"error"} = "$form->{templates}/$form->{IN}: $!";
return 0;
}
- binmode IN, ":utf8"
if $::locale->is_utf8
;
+ binmode IN, ":utf8";
my @lines = <IN>;
close(IN);
my @lines = <IN>;
close(IN);
@@
-374,13
+374,8
@@
sub parse {
return 0;
}
return 0;
}
- if ($::locale->is_utf8) {
- binmode OUT, ":utf8";
- print OUT Unicode::Normalize::normalize('C', $new_contents);
-
- } else {
- print OUT $new_contents;
- }
+ binmode OUT, ":utf8";
+ print OUT Unicode::Normalize::normalize('C', $new_contents);
if ($form->{"format"} =~ /postscript/i) {
return $self->convert_to_postscript();
if ($form->{"format"} =~ /postscript/i) {
return $self->convert_to_postscript();