Added better support for encoding problems when escaping a string in the ListRenderer
Added better support for encoding problems when escaping a string in the ListRenderer

This is available as of PHP 5.4.
This change mimics the similar changes done in Twig and Symfony2.

Soullivaneuh/KnpMenu,Nek-/KnpMenu,xabbuh/KnpMenu,stof/KnpMenu,zbigniewcichanski/KnpMenu,zbigniewcichanski/KnpMenu,xabbuh/KnpMenu,krymen/KnpMenu,Nek-/KnpMenu,stof/KnpMenu,KnpLabs/KnpMenu,Soullivaneuh/KnpMenu