diff --git a/src/Symfony/Component/Translation/Loader/IniFileLoader.php b/src/Symfony/Component/Translation/Loader/IniFileLoader.php index 616fa7e0e775f..b4907280397a2 100644 --- a/src/Symfony/Component/Translation/Loader/IniFileLoader.php +++ b/src/Symfony/Component/Translation/Loader/IniFileLoader.php @@ -35,7 +35,7 @@ public function load($resource, $locale, $domain = 'messages') throw new NotFoundResourceException(sprintf('File "%s" not found.', $resource)); } - $messages = parse_ini_file($resource, true); + $messages = parse_ini_file($resource, true, INI_SCANNER_RAW); $catalogue = parent::load($messages, $locale, $domain); $catalogue->addResource(new FileResource($resource));