projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SL::Controller::CustomerVendor::action_new in action_add umbenannt
[kivitendo-erp.git]
/
SL
/
ReportGenerator.pm
diff --git
a/SL/ReportGenerator.pm
b/SL/ReportGenerator.pm
index
d9edae2
..
e965e44
100644
(file)
--- a/
SL/ReportGenerator.pm
+++ b/
SL/ReportGenerator.pm
@@
-441,7
+441,7
@@
sub generate_pdf_content {
my $num_columns = scalar @visible_columns;
my $num_header_rows = 1;
my $num_columns = scalar @visible_columns;
my $num_header_rows = 1;
- my $font_encoding =
$::lx_office_conf{system}->{dbcharset} || 'ISO-8859-15
';
+ my $font_encoding =
'UTF-8
';
foreach my $name (@visible_columns) {
push @column_props, { 'justify' => $self->{columns}->{$name}->{align} eq 'right' ? 'right' : 'left' };
foreach my $name (@visible_columns) {
push @column_props, { 'justify' => $self->{columns}->{$name}->{align} eq 'right' ? 'right' : 'left' };
@@
-703,7
+703,7
@@
sub _handle_quoting_and_encoding {
my ($self, $text, $do_unquote) = @_;
$text = $main::locale->unquote_special_chars('HTML', $text) if $do_unquote;
my ($self, $text, $do_unquote) = @_;
$text = $main::locale->unquote_special_chars('HTML', $text) if $do_unquote;
- $text = Encode::encode('UTF-8', $text)
if $::locale->is_utf8
;
+ $text = Encode::encode('UTF-8', $text);
return $text;
}
return $text;
}