Replace calls to htmlspecialchars() with sm_encode_html_special_chars(). New function sm_encode_html_special_chars() encodes HTML special characters by calling htmlspecialchars(). It sets the character set to ISO-8859-1, to fix compatibility with PHP >= 5.4. Patch by Paul Lesniewski. See #3491925 git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14346 7612ce4b-ef26-0410-bec9-ea0150e637f0