Andernfalls würden ISO-encodierte Strings vom Fix nochmal nach UTF-8
encodiert und danach erst ausgeliefert.
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)$/;
my $encoder = Encode::find_encoding('UTF-8');
my $original_fcgi_print = \&FCGI::Stream::PRINT;
use SL::Dispatcher;
use SL::FCGIFixes;
-SL::FCGIFixes::apply_fixes();
-
our $dispatcher = SL::Dispatcher->new('FastCGI');
-$dispatcher->pre_startup;
+$dispatcher->pre_startup_setup;
+SL::FCGIFixes::apply_fixes();
+$dispatcher->pre_startup_checks;
my $request = FCGI::Request();
$dispatcher->handle_request($request) while $request->Accept() >= 0;