When deploying to a machine with a PHP version prior to 5.4.0 installed, each non-breaking space displayed as a question mark inside of a black diamond. Prior to version 5.4.0, the 'html_entity_decode' encoding parameter defaults to ISO-8859-1. This fix forces it to use UTF-8 to keep behavior consistent across all versions of PHP.

Just in case anyone else encounters this problem, I have included this patch.

Comments

creativepragmatic’s picture

devuo’s picture

Commited, thanks!

devuo’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.