X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FFCGIFixes.pm;h=6327ffcf16a95585305a695d24b0bf80289db290;hb=e74dac176e01090f7e3b6bd9e99596a36e614284;hp=d341f4a975c03628d45866bc8781f3e65d1e3e13;hpb=87ad1737166b8eb5ec26ec3ab27f686bdf4d3679;p=kivitendo-erp.git diff --git a/SL/FCGIFixes.pm b/SL/FCGIFixes.pm index d341f4a97..6327ffcf1 100644 --- a/SL/FCGIFixes.pm +++ b/SL/FCGIFixes.pm @@ -25,7 +25,7 @@ use version; sub fix_print_and_internal_encoding_after_0_68 { return if version->new("$FCGI::VERSION")->numify <= version->new("0.68")->numify; - return if lc($::dbcharset) !~ m/^(?:utf-?8|unicode)$/; + return if lc($::lx_office_conf{system}->{dbcharset}) !~ m/^(?:utf-?8|unicode)$/; my $encoder = Encode::find_encoding('UTF-8'); my $original_fcgi_print = \&FCGI::Stream::PRINT;