diff --git a/app/Kernel.php b/app/Kernel.php index a9c88e0ecb..17df726190 100644 --- a/app/Kernel.php +++ b/app/Kernel.php @@ -80,7 +80,7 @@ public function defineForkConstants(): void Spoon::setDebug($container->getParameter('kernel.debug')); Spoon::setDebugEmail($container->getParameter('fork.debug_email')); Spoon::setDebugMessage($container->getParameter('fork.debug_message')); - Spoon::setCharset($container->getParameter('kernel.charset')); + Spoon::setCharset(strtolower($container->getParameter('kernel.charset'))); /** * @deprecated SPOON_* constants are deprecated in favour of Spoon::set*().