SystemMailBundle icon indicating copy to clipboard operation
SystemMailBundle copied to clipboard

[bug] german characters

Open Ma27 opened this issue 9 years ago • 1 comments

I get an utf-8 error when using german characters like öäü.

This is the message which I get when having these characters in the template:

[2015-07-20 20:08:07] request.CRITICAL: Uncaught PHP Exception Sonata\NotificationBundle\Exception\HandlingException: "Error while handling a message: Warning: simplexml_load_string(): Entity: line 9: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xF6 0x6E 0x20 0x64" at /var/www/sententiaregum/vendor/sonata-project/notification-bundle/Backend/RuntimeBackend.php line 106 {"exception":"[object] (Sonata\\NotificationBundle\\Exception\\HandlingException(code: 0): Error while handling a message: Warning: simplexml_load_string(): Entity: line 9: parser error : Input is not proper UTF-8, indicate encoding !\nBytes: 0xF6 0x6E 0x20 0x64 at /var/www/sententiaregum/vendor/sonata-project/notification-bundle/Backend/RuntimeBackend.php:106, Symfony\\Component\\Debug\\Exception\\ContextErrorException(code: 0): Warning: simplexml_load_string(): Entity: line 9: parser error : Input is not proper UTF-8, indicate encoding !\nBytes: 0xF6 0x6E 0x20 0x64 at /var/www/sententiaregum/vendor/hautzi/system-mail-bundle/SystemMailer/MailDefinition/MailDefinitionParserXml.php:30)"} []

Ma27 avatar Jul 20 '15 18:07 Ma27

Thats strange. Can you attach the exact file? Or a file that reproduces the error? I also have german umlauts in my project and it works there!?

christoph-hautzinger avatar Jul 20 '15 21:07 christoph-hautzinger