sanitize_ascii_domain


Description:

[ Version ( since = "3.44" ) ]
public bool sanitize_ascii_domain ()

Checks the addresses in this for any suspicious characters in the domain name and coverts those domains into their representation.

In contrast to ensure_ascii_domains, this converts the domains into ASCII only when needed, as returned by hostname_utils_requires_ascii.

Parameters:

this

a InternetAddress

Returns:

true, when converted at least one address