don't preload for development, and encode output as UTF-8
This commit is contained in:
parent
defb78ab64
commit
99386f52eb
2 changed files with 10 additions and 1 deletions
|
|
@ -8,6 +8,11 @@ builder {
|
|||
my $config = $wg->config;
|
||||
|
||||
enable 'Log4perl', category => $config->getFilename, conf => WebGUI::Paths->logConfig;
|
||||
enable 'SimpleContentFilter', filter => sub {
|
||||
if ( utf8::is_utf8($_) ) {
|
||||
utf8::encode($_);
|
||||
}
|
||||
};
|
||||
|
||||
# Reproduce URL handler functionality with middleware
|
||||
enable '+WebGUI::Middleware::Snoop';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue