projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exact match funktion wieder hergestellt nach dem letzten commit
[kivitendo-erp.git]
/
SL
/
AM.pm
diff --git
a/SL/AM.pm
b/SL/AM.pm
index
e2ea0be
..
cf48de6
100644
(file)
--- a/
SL/AM.pm
+++ b/
SL/AM.pm
@@
-1021,7
+1021,7
@@
sub load_template {
close(TEMPLATE);
}
close(TEMPLATE);
}
- $content = Encode::decode('utf-8-strict', $content)
if $::locale->is_utf8
;
+ $content = Encode::decode('utf-8-strict', $content);
$main::lxdebug->leave_sub();
$main::lxdebug->leave_sub();
@@
-1038,7
+1038,7
@@
sub save_template {
my $error = "";
if (open(TEMPLATE, ">", $filename)) {
my $error = "";
if (open(TEMPLATE, ">", $filename)) {
- $content = Encode::encode('utf-8-strict', $content)
if $::locale->is_utf8
;
+ $content = Encode::encode('utf-8-strict', $content);
$content =~ s/\r\n/\n/g;
print(TEMPLATE $content);
close(TEMPLATE);
$content =~ s/\r\n/\n/g;
print(TEMPLATE $content);
close(TEMPLATE);