iconv related functions are deprecated in PHP 5.6

In PHP 5.6, the `iconv_set_encoding()` function and the settings it controls are deprecated in favor of a `default_charset` setting, see https://wiki.php.net/rfc/default_encoding for more info.  The deprecation notices caused test errors on PHP 5.6.