Removed any occurance of utf8_encode to make this code work with symfony2.1