public function idnSupported() { return function_exists('idn_to_ascii') and function_exists('mb_convert_encoding'); }