Replace invalid characters with a symbol instead of returning empty string for the
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 7 Jun 2015 13:51:19 +0000 (13:51 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 7 Jun 2015 13:51:19 +0000 (13:51 +0000)
commit95fde4c89e9b9c235cb3923cd1a286f94c93f449
tree79d69aa9c71790bdeb78346334aa3476b5048038
parentcaa592dc7d3d53777323707cc5731fb48d3dc1bc
Replace invalid characters with a symbol instead of returning empty string for the
entire to be encoded string.

Currently, if an email contains such an invalid character, the whole line will be
left out, which is rather confusing. Even more when it's the email subject. This
constant is only available in PHP 5.4 and up.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14501 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/strings.php