#!/usr/bin/perl use CGI::Fast(); use App; use utf8; # fastcgi usage as told in: http://cgiapp.erlbaum.net/index.cgi?FastCGI while( my $q = new CGI::Fast ){ $q->header(-charset => 'utf-8'); # as I now set :utf8 in cgiapp_prerun, might be more beautiful to also move this there.. my $app = new App( QUERY => $q ); $app->run(); }